diff options
author | Karel Zak | 2018-08-13 13:49:26 +0200 |
---|---|---|
committer | Karel Zak | 2018-08-13 13:49:26 +0200 |
commit | 09a4313ceb17c946a348d863b635970608cc75f2 (patch) | |
tree | 8122e46d46718a7f3c37992c8cde351d8f774b16 /login-utils/lslogins.c | |
parent | logger: add -S to the man page (diff) | |
download | kernel-qcow2-util-linux-09a4313ceb17c946a348d863b635970608cc75f2.tar.gz kernel-qcow2-util-linux-09a4313ceb17c946a348d863b635970608cc75f2.tar.xz kernel-qcow2-util-linux-09a4313ceb17c946a348d863b635970608cc75f2.zip |
lslogins: add info about single-user output mode
The supported command line synopsis is also
lslogins foo
and it provides different output than
lslogins -l foo
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/lslogins.c')
-rw-r--r-- | login-utils/lslogins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c index 9cd1a44b2..ea40ab615 100644 --- a/login-utils/lslogins.c +++ b/login-utils/lslogins.c @@ -1308,7 +1308,7 @@ static void __attribute__((__noreturn__)) usage(void) size_t i; fputs(USAGE_HEADER, out); - fprintf(out, _(" %s [options]\n"), program_invocation_short_name); + fprintf(out, _(" %s [options] [<username>]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Display information about known users in the system.\n"), out); |