]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lslogins: fix incomplete option info in usage message
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 03:51:34 +0000 (22:51 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 13:39:32 +0000 (08:39 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
login-utils/lslogins.c

index 90db60cbc890dd001a5df6534bb4d0a85b78f8cd..2134d957d89c5c9e14263c34df8da5c50b5df6ff 100644 (file)
@@ -1582,9 +1582,11 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -z, --print0             delimit user entries with a nul character\n"), out);
        fputs(_("     --wtmp-file <path>   set an alternate path for wtmp\n"), out);
        fputs(_("     --btmp-file <path>   set an alternate path for btmp\n"), out);
-       fputs(_("     --lastlog <path>     set an alternate path for lastlog\n"), out);
+       fputs(_("     --lastlog-file <path>\n"
+               "                          set an alternate path for lastlog\n"), out);
 #ifdef HAVE_LIBLASTLOG2
-       fputs(_("     --lastlog2 <path>    set an alternate path for lastlog2\n"), out);
+       fputs(_("     --lastlog2-file <path>\n"
+               "                          set an alternate path for lastlog2\n"), out);
 #endif
        fputs(USAGE_SEPARATOR, out);
        /* FIXME: Replace with USAGE_LIST_COLUMNS_OPTION() macro from include/c.h */