From: Jim Meyering Date: Tue, 26 Oct 1993 00:11:14 +0000 (+0000) Subject: merge with 1.8.1i X-Git-Tag: v2.22-rc1~347^2~10^2~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e41cfda26a9f201cc9ff31539515f6aa7b7c1588;p=thirdparty%2Futil-linux.git merge with 1.8.1i --- diff --git a/login-utils/su.c b/login-utils/su.c index 7db31c107c..7669aef1ae 100644 --- a/login-utils/su.c +++ b/login-utils/su.c @@ -551,29 +551,25 @@ static void usage (status) int status; { - fprintf (status == 0 ? stdout : stderr, "\ -Usage: %s [OPTION]... [-] [USER [ARG]...]\n\ -", - program_name); - if (status != 0) fprintf (stderr, "Try `%s --help' for more information.\n", program_name); else - - printf ("\ + { + printf ("Usage: %s [OPTION]... [-] [USER [ARG]...]\n", program_name); + printf ("\ \n\ -l, --login make the shell a login shell\n\ - -c, --commmand COMMAND pass a single COMMAND to the shell with -c\n\ + -c, --commmand=COMMAND pass a single COMMAND to the shell with -c\n\ -f, --fast pass -f to the shell (for csh or tcsh)\n\ -m, --preserve-environment do not reset environment variables\n\ -p same as -m\n\ - -s, --shell SHELL run SHELL if /etc/shells allows it\n\ + -s, --shell=SHELL run SHELL if /etc/shells allows it\n\ --help display this help and exit\n\ --version output version information and exit\n\ \n\ A mere - implies -l. If USER not given, assume root.\n\ "); - + } exit (status); }