Printing usage() without hint what is wrong does not help an user. Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- login-utils/lslogins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c index 85fd7c8..7fe6599 100644 --- a/login-utils/lslogins.c +++ b/login-utils/lslogins.c @@ -1437,7 +1437,7 @@ int main(int argc, char *argv[]) logins = argv[optind]; outmode = OUT_PRETTY; } else if (argc != optind) - usage(stderr); + errx(EXIT_FAILURE, _("Only one user may be specified. Use -l for multiple users.")); scols_init_debug(0); -- 2.1.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html