X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cat.c;h=80044346048acdbd8c76030976f823c1feef5dce;hb=e714bce003a1b0e2c49e58fe14af86abc8b31f23;hp=58a1b0f54482d0f498420b47f962f85a4575ef93;hpb=029011b9eeaf491d00fda1d072c4c6094df96c3a;p=oweals%2Fbusybox.git diff --git a/cat.c b/cat.c index 58a1b0f54..800443460 100644 --- a/cat.c +++ b/cat.c @@ -2,7 +2,7 @@ /* * Mini Cat implementation for busybox * - * Copyright (C) 1999 by Lineo, inc. + * Copyright (C) 1999,2000 by Lineo, inc. * Written by Erik Andersen , * * This program is free software; you can redistribute it and/or modify @@ -45,7 +45,11 @@ extern int cat_main(int argc, char **argv) } if (**(argv + 1) == '-') { - usage("cat [file ...]\n"); + usage("cat [FILE ...]\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\nConcatenates FILE(s) and prints them to the standard output.\n" +#endif + ); } argc--; @@ -57,7 +61,7 @@ extern int cat_main(int argc, char **argv) } print_file(file); } - exit(TRUE); + return(TRUE); } /*