X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=length.c;h=c7df216112216bfad014246c66d51ece8b089f64;hb=9b2297a34e35be143155769a470331af2f2b9330;hp=4cbe7e17b088b2c105dda17a1036d3d8f3c0e2b0;hpb=1d1d95051a288b6bf64498aac9fb20047f384b7d;p=oweals%2Fbusybox.git diff --git a/length.c b/length.c index 4cbe7e17b..c7df21611 100644 --- a/length.c +++ b/length.c @@ -7,7 +7,11 @@ extern int length_main(int argc, char **argv) { if (argc != 2 || **(argv + 1) == '-') { - usage("length string\n"); + usage("length STRING\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\nPrints out the length of the specified STRING.\n" +#endif + ); } printf("%lu\n", (long)strlen(argv[1])); return (TRUE);