summaryrefslogtreecommitdiff
path: root/src/logname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logname.c')
-rw-r--r--src/logname.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/logname.c b/src/logname.c
index aa4c43b90..805ef3190 100644
--- a/src/logname.c
+++ b/src/logname.c
@@ -1,5 +1,5 @@
/* logname -- print user's login name
- Copyright (C) 1990-1997, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1990-1997, 1999, 2000, 2001 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
@@ -46,12 +46,12 @@ usage (int status)
else
{
printf (_("Usage: %s [OPTION]\n"), program_name);
- printf (_("\
+ fputs (_("\
Print the name of the current user.\n\
\n\
- --help display this help and exit\n\
- --version output version information and exit\n\
-"));
+"), stdout);
+ fputs (HELP_OPTION_DESCRIPTION, stdout);
+ fputs (VERSION_OPTION_DESCRIPTION, stdout);
puts (_("\nReport bugs to <bug-sh-utils@gnu.org>."));
}
exit (status);