diff options
| author | Eric Blake <ebb9@byu.net> | 2009-01-08 06:33:16 -0700 |
|---|---|---|
| committer | Eric Blake <ebb9@byu.net> | 2009-01-08 07:57:36 -0700 |
| commit | a99c35b04d9ab601e4fa98319c56fbdbde6b420a (patch) | |
| tree | 264804f0a32ce73b8444dbbcced994058c758d1e /src/hostid.c | |
| parent | * bootstrap.conf (avoided_gnulib_modules): Add dummy. (diff) | |
| download | coreutils-a99c35b04d9ab601e4fa98319c56fbdbde6b420a.tar.gz coreutils-a99c35b04d9ab601e4fa98319c56fbdbde6b420a.zip | |
option handling: make exceptions more consistent
* doc/coreutils.texi (Common options): Not all utilities reject
option abbreviations.
* src/chroot.c (main): Report correct name on failure.
* src/echo.c (usage): Clarify long option usage.
* src/setuidgid.c (usage): Likewise.
* src/hostid.c (usage): Condense.
Diffstat (limited to 'src/hostid.c')
| -rw-r--r-- | src/hostid.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/hostid.c b/src/hostid.c index f3cabc47b..1da5a0c5c 100644 --- a/src/hostid.c +++ b/src/hostid.c @@ -1,6 +1,6 @@ /* print the hexadecimal identifier for the current host - Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2007-2008 Free + Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2007-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify @@ -42,12 +42,10 @@ usage (int status) else { printf (_("\ -Usage: %s\n\ - or: %s OPTION\n\ +Usage: %s [OPTION]\n\ Print the numeric identifier (in hexadecimal) for the current host.\n\ \n\ -"), - program_name, program_name); +"), program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); emit_bug_reporting_address (); |
