From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5661 invoked by alias); 20 Dec 2007 14:31:41 -0000 Received: (qmail 5654 invoked by uid 22791); 20 Dec 2007 14:31:40 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 20 Dec 2007 14:31:36 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id lBKEVY9u013956 for ; Thu, 20 Dec 2007 09:31:34 -0500 Received: from pobox-2.corp.redhat.com (pobox-2.corp.redhat.com [10.11.255.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBKEVY2a032684; Thu, 20 Dec 2007 09:31:34 -0500 Received: from localhost.localdomain (vpn-6-30.fab.redhat.com [10.33.6.30]) by pobox-2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBKEVWZw010475; Thu, 20 Dec 2007 09:31:33 -0500 Message-ID: <476A7CC4.5090402@redhat.com> Date: Thu, 20 Dec 2007 14:31:00 -0000 From: Phil Muldoon User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Andrew Cagney CC: Frysk Hackers Subject: Re: Patch: Implement Info Command References: <476A4A97.2040108@redhat.com> <476A781F.2080707@redhat.com> In-Reply-To: <476A781F.2080707@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00234.txt.bz2 Andrew Cagney wrote: > Phil Muldoon wrote: >> >> Usage: info help - will print out the sub-command's >> help. E.g. info help regs > this comes across as confusing - shouldn't it print information on the > help system? Instead: > > (fhpd) help info sub-command > > Andrew > That would require the TopLevelCommand help inner-class system to know that the command info had help for the sub-command which it doesn't. In short, without a refactor of how help works, I do not think what you want will work. At least I think, the way help works is very confusing. Regards Phil