summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-21 04:08:25 +0000
committerJim Meyering <jim@meyering.net>1996-12-21 04:08:25 +0000
commite95fe088e1393c0b1525983ff58e425d724e6378 (patch)
tree3cfdb84455419ead415a9337c10ea604e569b13b /src
parente13281014a674b4aebb75b4d6921792bf5d5b24d (diff)
downloadcoreutils-e95fe088e1393c0b1525983ff58e425d724e6378.tar.xz
(usage): Say that UTMP_FILE is the default FILE
rather than hard-coding /etc/utmp.
Diffstat (limited to 'src')
-rw-r--r--src/who-users.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/who-users.c b/src/who-users.c
index 50c0a6bde..ec00d8c77 100644
--- a/src/who-users.c
+++ b/src/who-users.c
@@ -639,9 +639,9 @@ usage (int status)
--help display this help and exit\n\
--version output version information and exit\n\
\n\
-If FILE not given, uses /etc/utmp. /etc/wtmp as FILE is common.\n\
+If FILE is not specified, use %s. /etc/wtmp as FILE is common.\n\
If ARG1 ARG2 given, -m presumed: `am i' or `mom likes' are usual.\n\
-"));
+"), UTMP_FILE);
puts (_("\nReport bugs to sh-utils-bugs@gnu.ai.mit.edu"));
}
exit (status);
@@ -660,10 +660,10 @@ usage (int status)
printf (_("Usage: %s [OPTION]... [ FILE ]\n"), program_name);
printf (_("\
Output who is currently logged in according to FILE.\n\
-If FILE not given, uses /etc/utmp. /etc/wtmp as FILE is common.\n\
+If FILE is not specified, use %s. /etc/wtmp as FILE is common.\n\
\n\
--help display this help and exit\n\
- --version output version information and exit\n"));
+ --version output version information and exit\n"), UTMP_FILE);
puts (_("\nReport bugs to sh-utils-bugs@gnu.ai.mit.edu"));
}
exit (status);