]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lslogins: mention --time-format in usage
authorOndrej Oprala <ooprala@redhat.com>
Wed, 30 Apr 2014 13:59:01 +0000 (15:59 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 15 May 2014 11:56:00 +0000 (13:56 +0200)
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
login-utils/lslogins.c

index cd356067a15f2d86464293ab8ed8d1c76e814efd..5feed21692d0831fd0874926dd4abd20d7f7702d 100644 (file)
@@ -304,7 +304,7 @@ 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 last users' failed logins\n"), out);
-       fputs(_(" -fulltimes               Show dates in a long format\n"), out);
+       fputs(_(" --fulltimes              Show dates in a long format\n"), out);
        fputs(_(" -g, --groups=<groups>    Display users belonging to a group in GROUPS\n"), out);
        fputs(_(" -i, --iso                Display dates in the ISO-8601 format\n"), out);
        fputs(_(" -l, --logins=<logins>    Display only users from LOGINS\n"), out);
@@ -316,6 +316,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
        fputs(_(" -r, --raw                Display the raw table\n"), out);
        fputs(_(" -s, --system-accs        Display system accounts\n"), out);
        fputs(_(" -t, --sort               Sort output by login instead of UID\n"), out);
+       fputs(_(" --time-format=<type>     Display dates in type <type>, where type is one of short|full|iso\n"), out);
        fputs(_(" -u, --user-accs          Display user accounts\n"), out);
        fputs(_(" -x, --extra              Display extra information\n"), out);
        fputs(_(" -z, --print0             Delimit user entries with a nul character\n"), out);