From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8724 invoked by alias); 20 Dec 2007 14:34:53 -0000 Received: (qmail 8713 invoked by uid 22791); 20 Dec 2007 14:34:51 -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:34:47 +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 lBKEYj0k014796 for ; Thu, 20 Dec 2007 09:34:45 -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 lBKEYjJO002680; Thu, 20 Dec 2007 09:34:45 -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 lBKEYiMP011211; Thu, 20 Dec 2007 09:34:44 -0500 Message-ID: <476A7D83.80401@redhat.com> Date: Thu, 20 Dec 2007 14:34:00 -0000 From: Phil Muldoon User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Andrew Cagney CC: frysk Subject: Re: info -help expectations? References: <476A3457.4080405@redhat.com> <476A773A.7010000@redhat.com> In-Reply-To: <476A773A.7010000@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/msg00235.txt.bz2 Andrew Cagney wrote: > Phil Muldoon wrote: >> I have the info command more or less working so: >> >> (fhpd) info >> auxv - Print process auxiliary >> debuginfo - Displays debuginfo install paths of a process. >> maps - Print process maps >> regs - print registers > Hmm; should this print an error (missing command) or the list, and > -help print the list? I think typing info and no command, it should automatically print the info help - it is a more friendly touch. All fodder for discussion though, in the next workflow meeting in the new year. > > Since there's an info command what were <> et.al. can > probably be made <> et.al. >> >> and >> >> info > and completion? (fhpd) info auxv debuginfo help maps regs >> >> works as it should. But MultiLevelCommand interprets: >> >> >> (fhpd) info -help >> Error: Unknown command: -help > nice edge case; does the converse <> work? Like "run", the > class probably needs an explicit check for -help; option parsing would > be overkill. (fhpd) help info auxv - Print process auxiliary debuginfo - Displays debuginfo install paths of a process. help - Display this help message. maps - Print process maps regs - print registers