summaryrefslogtreecommitdiff
path: root/src/setuidgid.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-01-08 06:33:16 -0700
committerEric Blake <ebb9@byu.net>2009-01-08 07:57:36 -0700
commita99c35b04d9ab601e4fa98319c56fbdbde6b420a (patch)
tree264804f0a32ce73b8444dbbcced994058c758d1e /src/setuidgid.c
parent5e3a5ae5193e0b14abd3d3428b1546bd15a20a8b (diff)
downloadcoreutils-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.c6
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);