From 3a7ad24d94bc8ca3a532664af56e7d6a5bedc073 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 12 May 2000 19:41:47 +0000 Subject: Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- coreutils/printf.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'coreutils/printf.c') diff --git a/coreutils/printf.c b/coreutils/printf.c index bfe408175..28a011dcd 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) { -- cgit v1.2.3-55-g6feb