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/setuidgid.c | |
parent | 5e3a5ae5193e0b14abd3d3428b1546bd15a20a8b (diff) | |
download | coreutils-a99c35b04d9ab601e4fa98319c56fbdbde6b420a.tar.xz |
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/setuidgid.c')
-rw-r--r-- | src/setuidgid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/setuidgid.c b/src/setuidgid.c index 057002cbf..beff04acb 100644 --- a/src/setuidgid.c +++ b/src/setuidgid.c @@ -1,5 +1,5 @@ /* setuidgid - run a command with the UID and GID of a specified user - Copyright (C) 2003-2008 Free Software Foundation, Inc. + Copyright (C) 2003-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -48,8 +48,8 @@ usage (int status) else { printf (_("\ -Usage: %s OPTION USER COMMAND [ARGUMENT]...\n\ - or: %s OPTION\n\ +Usage: %s [SHORT-OPTION]... USER COMMAND [ARGUMENT]...\n\ + or: %s LONG-OPTION\n\ "), program_name, program_name); |