From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24603 invoked by alias); 20 Dec 2007 14:08:32 -0000 Received: (qmail 24591 invoked by uid 22791); 20 Dec 2007 14:08:30 -0000 X-Spam-Status: No, hits=-2.4 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:08:26 +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 lBKE8OcG003382 for ; Thu, 20 Dec 2007 09:08:24 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBKE8NHr015145; Thu, 20 Dec 2007 09:08:23 -0500 Received: from localhost.localdomain (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBKE8N6O020958; Thu, 20 Dec 2007 09:08:23 -0500 Message-ID: <476A773A.7010000@redhat.com> Date: Thu, 20 Dec 2007 14:08:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Phil Muldoon CC: frysk Subject: Re: info -help expectations? References: <476A3457.4080405@redhat.com> In-Reply-To: <476A3457.4080405@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/msg00232.txt.bz2 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? Since there's an info command what were <> et.al. can probably be made <> et.al. > > and > > info and completion? > > 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. Andrew > > As a command. There is a help function, but that seems never to be > called. > > Regards > > Phil