misc: consolidate macro style USAGE_HELP_OPTIONS
changed in include/c.h and applied via sed: sed -i 's/fprintf.*\(USAGE_MAN_TAIL.*\)/printf(\1/' $(git ls-files -- "*.c") sed -i 's/print_usage_help_options\(.*\);/printf(USAGE_HELP_OPTIONS\1);/' $(git ls-files -- "*.c") Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
This commit is contained in:
parent
43c960c8fa
commit
f45f3ec34a
111 changed files with 204 additions and 206 deletions
|
@ -306,7 +306,7 @@ static void __attribute__((__noreturn__)) usage(void)
|
|||
" [delta|reltime|ctime|notime|iso]\n"
|
||||
"Suspending/resume will make ctime and iso timestamps inaccurate.\n"), out);
|
||||
fputs(USAGE_SEPARATOR, out);
|
||||
print_usage_help_options(29);
|
||||
printf(USAGE_HELP_OPTIONS(29));
|
||||
fputs(_("\nSupported log facilities:\n"), out);
|
||||
for (i = 0; i < ARRAY_SIZE(level_names); i++)
|
||||
fprintf(out, " %7s - %s\n",
|
||||
|
@ -319,7 +319,7 @@ static void __attribute__((__noreturn__)) usage(void)
|
|||
level_names[i].name,
|
||||
_(level_names[i].help));
|
||||
|
||||
fprintf(out, USAGE_MAN_TAIL("dmesg(1)"));
|
||||
printf(USAGE_MAN_TAIL("dmesg(1)"));
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue