diff options
author | Sami Kerola | 2014-12-08 23:20:56 +0100 |
---|---|---|
committer | Karel Zak | 2014-12-09 09:19:41 +0100 |
commit | 228bb39a5ef24edc03b4bdd4a42adfd6ccf4cbf4 (patch) | |
tree | d6490cfe702e71b92e2555d38b3402aa86f3e57e /login-utils/lslogins.c | |
parent | lslogins: fix assertion failure for none existing logins (diff) | |
download | kernel-qcow2-util-linux-228bb39a5ef24edc03b4bdd4a42adfd6ccf4cbf4.tar.gz kernel-qcow2-util-linux-228bb39a5ef24edc03b4bdd4a42adfd6ccf4cbf4.tar.xz kernel-qcow2-util-linux-228bb39a5ef24edc03b4bdd4a42adfd6ccf4cbf4.zip |
lslogins: align usage() and manual with struct option longopts
Short option -G goes together with long option --supp-groups, while
neither of -m or --groups-info has worked in a release so remove them
from usage() and manual.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/lslogins.c')
-rw-r--r-- | login-utils/lslogins.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c index 38d3cf681..abce949c1 100644 --- a/login-utils/lslogins.c +++ b/login-utils/lslogins.c @@ -1189,11 +1189,10 @@ static void __attribute__((__noreturn__)) usage(FILE *out) fputs(_(" -c, --colon-separate display data in a format similar to /etc/passwd\n"), out); fputs(_(" -e, --export display in an export-able output format\n"), out); fputs(_(" -f, --failed display data about the users' last failed logins\n"), out); - fputs(_(" -G, --groups-info display information about groups\n"), out); + fputs(_(" -G, --supp-groups display information about groups\n"), out); fputs(_(" -g, --groups=<groups> display users belonging to a group in <groups>\n"), out); fputs(_(" -L, --last show info about the users' last login sessions\n"), out); fputs(_(" -l, --logins=<logins> display only users from <logins>\n"), out); - fputs(_(" -m, --supp-groups display supplementary groups as well\n"), out); fputs(_(" -n, --newline display each piece of information on a new line\n"), out); fputs(_(" --noheadings don't print headings\n"), out); fputs(_(" --notruncate don't truncate output\n"), out); |