summaryrefslogtreecommitdiff
path: root/coreutils/basename.c
diff options
context:
space:
mode:
authorErik Andersen2000-04-21 01:26:49 +0000
committerErik Andersen2000-04-21 01:26:49 +0000
commit1d1d95051a288b6bf64498aac9fb20047f384b7d (patch)
tree2c99ce8ba7d4d592806fbf81899e663bc884676b /coreutils/basename.c
parentcf8d38a3eb46f4f9c4e674d43cff486cd79c9c0f (diff)
downloadbusybox-1d1d95051a288b6bf64498aac9fb20047f384b7d.zip
busybox-1d1d95051a288b6bf64498aac9fb20047f384b7d.tar.gz
More Doc updates. cmdedit and more termio fixes.
Diffstat (limited to 'coreutils/basename.c')
-rw-r--r--coreutils/basename.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/coreutils/basename.c b/coreutils/basename.c
index 5fe5e0f..efd07e2 100644
--- a/coreutils/basename.c
+++ b/coreutils/basename.c
@@ -29,7 +29,11 @@ extern int basename_main(int argc, char **argv)
char* s, *s1;
if ((argc < 2) || (**(argv + 1) == '-')) {
- usage("basename [file ...]\n");
+ usage("basename [FILE ...]\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nStrips directory path and suffixes from FILE(s).\n"
+#endif
+ );
}
argv++;