Update internal.h to conditionally include asm/string.h
[oweals/busybox.git] / cat.c
diff --git a/cat.c b/cat.c
index f7a6bfa7b8df122f86358feab8c5491506260998..80044346048acdbd8c76030976f823c1feef5dce 100644 (file)
--- a/cat.c
+++ b/cat.c
@@ -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);
 }
 
 /*