This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] Add --help and --version options to dwp.
- From: Tom Tromey <tromey at redhat dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, binutils at sourceware dot org
- Date: Wed, 24 Oct 2012 09:39:23 -0600
- Subject: Re: [gold patch] Add --help and --version options to dwp.
- References: <20121024024027.B6136E0ACF@ccoutant.mtv.corp.google.com>
>>>>> "Cary" == Cary Coutant <ccoutant@google.com> writes:
Cary> I've added --help and --version options to dwp, although I wasn't
Cary> quite sure about whether to send the entire usage message to
Cary> stderr in the case of an invalid option.
I think for GNU programs it is typical to print a short note and a
suggestion about --help:
$ automake --zardoz
automake: unrecognized option `--zardoz'.
automake: Try `/usr/bin/automake --help' for more information.
Or
$ ls --barf
ls: unrecognized option '--barf'
Try `ls --help' for more information.
I don't think this is explicitly in the GNU standards.
Tom