From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15305 invoked by alias); 10 Jun 2014 02:52:56 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 15288 invoked by uid 89); 10 Jun 2014 02:52:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout27.012.net.il Received: from mtaout27.012.net.il (HELO mtaout27.012.net.il) (80.179.55.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 10 Jun 2014 02:52:50 +0000 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0N6X00200MFLEQ00@mtaout27.012.net.il> for gdb-patches@sourceware.org; Tue, 10 Jun 2014 05:49:44 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6X00J90MIWZG70@mtaout27.012.net.il>; Tue, 10 Jun 2014 05:49:44 +0300 (IDT) Date: Tue, 10 Jun 2014 02:52:00 -0000 From: Eli Zaretskii Subject: Re: [patch] Share options between info and man page In-reply-to: To: Mingjie Xing Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83ioo91nnk.fsf@gnu.org> References: <831tuy2kzi.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00411.txt.bz2 > From: Mingjie Xing > Date: Tue, 10 Jun 2014 08:46:10 +0800 > Cc: gdb-patches@sourceware.org > > 2014-06-09 22:52 GMT+08:00 Eli Zaretskii : > > The text of these two portions is different, so you are actually > > changing the man page contents. Also, the @node and @section lines > > are probably inappropriate for a man page. > > Yes, but you can see that the man page contents are almost same with > those sections. Then please also suggest changes to make them exactly the same. I'm OK with making the maintenance burden easier, but I don't want to lose content. > For an example, gcc's man page and info page use the > same file 'invoke.texi' which includes @node and @section lines. I'm sorry, but GCC's example is unlikely to convince me, because I consider the GCC documentation to be one of the worst examples in the GNU project. I can never find useful up to date information there when I'm looking for it. It should be easy to keep the @node and @chapter out of the man page. Thanks.