diff options
Diffstat (limited to 'coreutils/printf.c')
-rw-r--r-- | coreutils/printf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/coreutils/printf.c b/coreutils/printf.c index bfe4081..28a011d 100644 --- a/coreutils/printf.c +++ b/coreutils/printf.c @@ -139,7 +139,12 @@ static void verify __P((char *s, char *end)); /* The value to return to the calling program. */ static int exit_status; -static const char printf_usage[] = "printf format [argument...]\n\nFormats and prints the given data.\n"; +static const char printf_usage[] = "printf FORMAT [ARGUMENT...]\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\nFormats and prints ARGUMENT(s) according to FORMAT,\n" + "Where FORMAT controls the output exactly as in C printf.\n" +#endif + ; int printf_main(int argc, char **argv) { |