From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20962 invoked by alias); 2 Mar 2008 13:00:34 -0000 Received: (qmail 20952 invoked by uid 22791); 2 Mar 2008 13:00:33 -0000 X-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (83.160.170.119) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 02 Mar 2008 13:00:16 +0000 Received: from wildebeest.demon.nl ([83.160.170.119] helo=[127.0.0.1]) by gnu.wildebeest.org with esmtp (Exim 4.63) (envelope-from ) id 1JVnnZ-0005oY-OS; Sun, 02 Mar 2008 14:00:14 +0100 Subject: Re: Patch: even nicer help output From: Mark Wielaard To: tromey@redhat.com Cc: Frysk List In-Reply-To: References: Content-Type: text/plain Date: Sun, 02 Mar 2008 13:00:00 -0000 Message-Id: <1204462813.8622.25.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-1.fc8) Content-Transfer-Encoding: 7bit X-Spam-Score: -4.0 (----) 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: 2008-q1/txt/msg00106.txt.bz2 Hi Tom, On Sat, 2008-03-01 at 14:27 -0700, Tom Tromey wrote: > This patch should be applied after the earlier word-wrap patch. > This one lines up all the descriptions of the options when printing > help for a command. This looks a lot nicer to me. I agree, very nice. For those following along at home, with this patch it looks as follows: (fhpd) help print print expression [-format d|o|x|t] -option ...; where options are: -format print format -location print the expression's location -raw print the expression's raw value -tree print the expression's AST -type print the expression's type -value print the expression's value (default) The print command evaluates and displays an expression. The debugger interprets the expression by looking up the value(s) associated with each symbol and applying the operators. The result of an expression may be a scalar value or an aggregate (array, array slice, record, or structure. > b/frysk-core/frysk/hpd/ChangeLog: > 2008-03-01 Tom Tromey > > * ParameterizedCommand.java (help): Align all option > descriptions. Committed and pushed (including your previous help improvement patches). Thanks, Mark