]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lslogins: use the USAGE_LIST_COLUMNS_OPTION macro
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 30 Mar 2026 18:18:41 +0000 (14:18 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 30 Mar 2026 18:18:41 +0000 (14:18 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
login-utils/lslogins.c

index 28dd7d79aed5b234364bc8f8bec2481bcbcfbb16..0024a04b8ba05beb164c5127cf4210aa979bce23 100644 (file)
@@ -1588,8 +1588,7 @@ static void __attribute__((__noreturn__)) usage(void)
                "                          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 */
-       fputs(_(" -H, --list-columns       list the available columns\n"), out);
+       fprintf(out, USAGE_LIST_COLUMNS_OPTION(26));
        fprintf(out, USAGE_HELP_OPTIONS(26));
 
        fprintf(out, USAGE_MAN_TAIL("lslogins(1)"));