From b30544549505019f5fc092c5d99fcb1cae1a44b1 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Sun, 25 Jun 2017 14:49:47 +0200 Subject: 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 --- schedutils/taskset.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'schedutils') diff --git a/schedutils/taskset.c b/schedutils/taskset.c index c55b986fb..ca1734f7a 100644 --- a/schedutils/taskset.c +++ b/schedutils/taskset.c @@ -61,9 +61,10 @@ static void __attribute__((__noreturn__)) usage(void) " -a, --all-tasks operate on all the tasks (threads) for a given pid\n" " -p, --pid operate on existing given pid\n" " -c, --cpu-list display and specify cpus in list format\n" - " -h, --help display this help\n" - " -V, --version output version information\n\n")); + )); + print_usage_help_options(25); + fputs(USAGE_SEPARATOR, out); fprintf(out, _( "The default behavior is to run a new command:\n" " %1$s 03 sshd -b 1024\n" -- cgit v1.2.3-55-g7522