summaryrefslogtreecommitdiff
path: root/coreutils/basename.c
diff options
context:
space:
mode:
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++;