diff options
author | Ruediger Meier | 2017-06-25 14:49:47 +0200 |
---|---|---|
committer | Ruediger Meier | 2017-06-27 12:28:36 +0200 |
commit | b30544549505019f5fc092c5d99fcb1cae1a44b1 (patch) | |
tree | b22fa305e99ed2bfa3bdeb145e8094874b631754 /term-utils/agetty.c | |
parent | misc: introduce print_usage_help_options() (diff) | |
download | kernel-qcow2-util-linux-b30544549505019f5fc092c5d99fcb1cae1a44b1.tar.gz kernel-qcow2-util-linux-b30544549505019f5fc092c5d99fcb1cae1a44b1.tar.xz kernel-qcow2-util-linux-b30544549505019f5fc092c5d99fcb1cae1a44b1.zip |
misc: consolidate all --help option descriptions
Now we are always using the same text also for commands
which had still hardcoded descriptions or where we can't
use the standard print_usage_help_options macro.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r-- | term-utils/agetty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 869513b22..7df5a5268 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -2110,8 +2110,8 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" --delay <number> sleep seconds before prompt\n"), out); fputs(_(" --nice <number> run login with this priority\n"), out); fputs(_(" --reload reload prompts on running agetty instances\n"), out); - fputs(_(" --help display this help and exit\n"), out); - fputs(_(" --version output version information and exit\n"), out); + printf( " --help %s\n", USAGE_OPTSTR_HELP); + printf( " --version %s\n", USAGE_OPTSTR_VERSION); fprintf(out, USAGE_MAN_TAIL("agetty(8)")); exit(EXIT_SUCCESS); |