From: Jim Meyering Date: Sat, 21 Dec 1996 04:08:25 +0000 (+0000) Subject: (usage): Say that UTMP_FILE is the default FILE X-Git-Tag: FILEUTILS-3_14a~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e95fe088e1393c0b1525983ff58e425d724e6378;p=thirdparty%2Fcoreutils.git (usage): Say that UTMP_FILE is the default FILE rather than hard-coding /etc/utmp. --- diff --git a/src/who-users.c b/src/who-users.c index 50c0a6bde5..ec00d8c77d 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);