summaryrefslogtreecommitdiffstats
path: root/login-utils/newgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/newgrp.c')
-rw-r--r--login-utils/newgrp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/login-utils/newgrp.c b/login-utils/newgrp.c
index 767ae4bcf..ce3fefbc1 100644
--- a/login-utils/newgrp.c
+++ b/login-utils/newgrp.c
@@ -176,8 +176,7 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_("Log in to a new group.\n"), out);
fputs(USAGE_OPTIONS, out);
- fputs(USAGE_HELP,out);
- fputs(USAGE_VERSION,out);
+ print_usage_help_options(16);
fprintf(out, USAGE_MAN_TAIL("newgrp(1)"));
exit(EXIT_SUCCESS);
}