diff options
author | Eric Andersen | 1999-10-18 22:28:26 +0000 |
---|---|---|
committer | Eric Andersen | 1999-10-18 22:28:26 +0000 |
commit | b0e9a709ba1ae1724d413a77f5b67b1a3e6c6cb7 (patch) | |
tree | b951f34000ebdef0491eecd9386e5ea3e535171a /ls.c | |
parent | 703c62da63aa31d665a8215f373b26e4b54f1bf4 (diff) | |
download | busybox-b0e9a709ba1ae1724d413a77f5b67b1a3e6c6cb7.zip busybox-b0e9a709ba1ae1724d413a77f5b67b1a3e6c6cb7.tar.gz |
More stuff.
-Erik
Diffstat (limited to 'ls.c')
-rw-r--r-- | ls.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -19,6 +19,8 @@ * */ +// I started writing a newer small one, but it isn't done yet.... +// -Erik #if fooBar #include <stdio.h> @@ -110,8 +112,7 @@ int ls_main(int argc, char **argv) recursiveFlag = TRUE; break; default: - fprintf(stderr, "Usage: %s\n", ls_usage); - exit( FALSE); + usage (ls_usage); } argc--; argv++; @@ -571,7 +572,7 @@ listerr: return 1; } -const char ls_usage[] = "Usage: ls [-1a" +const char ls_usage[] = "ls [-1a" #ifdef FEATURE_TIMESTAMPS "c" #endif @@ -668,7 +669,7 @@ ls_main(int argc, char * * argv) exit( i); print_usage_message: - fprintf(stderr, "Usage: %s\n", ls_usage); + usage (ls_usage); exit( FALSE); } |