summaryrefslogtreecommitdiff
path: root/dirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirname.c')
-rw-r--r--dirname.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/dirname.c b/dirname.c
index 528b89a..ce3cd6f 100644
--- a/dirname.c
+++ b/dirname.c
@@ -28,7 +28,11 @@ extern int dirname_main(int argc, char **argv)
char* s;
if ((argc < 2) || (**(argv + 1) == '-')) {
- usage("dirname [file ...]\n");
+ usage("dirname [FILENAME ...]\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nStrips non-directory suffix from FILENAME\n"
+#endif
+ );
}
argv++;