aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-01-18 20:32:52 -0600
committerRob Landley <rob@landley.net>2012-01-18 20:32:52 -0600
commitacf4b10aa8d0f944cd8cbbc28b8912472af95003 (patch)
tree5854edf25d3f8236445e3a626416c0f253d3259e /toys
parent8b983f31d5ee3ba13f3659f0e5dd93024987f3b5 (diff)
downloadtoybox-acf4b10aa8d0f944cd8cbbc28b8912472af95003.tar.gz
Comment changes, and add a blank line to the help text.
Diffstat (limited to 'toys')
-rw-r--r--toys/basename.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/toys/basename.c b/toys/basename.c
index db70a5ec..b5ace421 100644
--- a/toys/basename.c
+++ b/toys/basename.c
@@ -1,6 +1,11 @@
/* vi: set sw=4 ts=4:
*
- * basename.c
+ * basename.c - Return non-directory portion of a pathname
+ *
+ * Copyright 2012 Tryn Mirell <tryn@mirell.org>
+ *
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/basename.html
+
USE_BASENAME(NEWTOY(basename, NULL, TOYFLAG_USR|TOYFLAG_BIN))
@@ -9,6 +14,7 @@ config BASENAME
default n
help
usage: basename string [suffix]
+
Return non-directory portion of a pathname
*/