diff options
author | Karel Zak | 2014-05-16 14:14:02 +0200 |
---|---|---|
committer | Karel Zak | 2014-05-16 14:14:02 +0200 |
commit | 56c8f8af4ce4d042ac8ff9d585dd389b2122e5b5 (patch) | |
tree | 53d90a808480e0e4c33d5446869835acbd202801 /login-utils | |
parent | lslogins: sync man page and usage() (diff) | |
download | kernel-qcow2-util-linux-56c8f8af4ce4d042ac8ff9d585dd389b2122e5b5.tar.gz kernel-qcow2-util-linux-56c8f8af4ce4d042ac8ff9d585dd389b2122e5b5.tar.xz kernel-qcow2-util-linux-56c8f8af4ce4d042ac8ff9d585dd389b2122e5b5.zip |
lslogins: add FAILED-LOGIN to pretty output
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils')
-rw-r--r-- | login-utils/lslogins.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c index 05d218611..8d88a6934 100644 --- a/login-utils/lslogins.c +++ b/login-utils/lslogins.c @@ -1062,7 +1062,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-by-name 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(_(" --time-format=<type> Display dates in short, full or iso format\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); @@ -1277,6 +1277,7 @@ int main(int argc, char *argv[]) if (!ncolumns && outmode == OUT_PRETTY) { size_t i; want_wtmp = 1; + want_btmp = 1; for (i = 0; i < ARRAY_SIZE(coldescs); i++) columns[ncolumns++] = i; |