aboutsummaryrefslogtreecommitdiff
path: root/toys/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-11-27 00:57:42 -0600
committerRob Landley <rob@landley.net>2007-11-27 00:57:42 -0600
commitc15b3edf55ebd915b234e2ee6280a19874a052f9 (patch)
tree43d6c9c5bce6f6b7200ebb0aa84479248d1596b5 /toys/Config.in
parent57389ec1d8f5b32e5de97f0f557e5f5c5b7054bb (diff)
downloadtoybox-c15b3edf55ebd915b234e2ee6280a19874a052f9.tar.gz
Patch from Charlie Shepherd to add basename and dirname. (Fixed up to apply.)
Diffstat (limited to 'toys/Config.in')
-rw-r--r--toys/Config.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/toys/Config.in b/toys/Config.in
index 04640c58..34c31107 100644
--- a/toys/Config.in
+++ b/toys/Config.in
@@ -11,6 +11,14 @@ config TOYBOX
With no arguments, shows available commands. First argument is
name of a command to run, followed by any arguments to that command.
+config BASENAME
+ bool "basename"
+ default y
+ help
+ usage: basename path
+
+ Print the part of path after the last slash.
+
config BZCAT
bool "bzcat"
default n
@@ -68,6 +76,14 @@ config DF_PEDANTIC
-k Sets units back to 1024 bytes (the default without -P)
+config DIRNAME
+ bool "dirname"
+ default y
+ help
+ usage: dirname path
+
+ Print the part of path up to the last slash.
+
config DMESG
bool "dmesg"
default y