aboutsummaryrefslogtreecommitdiff
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 528b89a56..ce3cd6f03 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++;