aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-04-17 00:15:12 -0500
committerRob Landley <rob@landley.net>2013-04-17 00:15:12 -0500
commitabb0727cadf5484796d89c41fd479d056cb036d5 (patch)
tree1e09c182d08fbc5b3e25b33705e480d2476eb1ab /toys
parentd87b66913b64adcbeaeb664bd4e3a6fa79764c0c (diff)
downloadtoybox-abb0727cadf5484796d89c41fd479d056cb036d5.tar.gz
Add -f to chmod (just turns off -v).
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/chmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/chmod.c b/toys/posix/chmod.c
index 89b6e083..64369b65 100644
--- a/toys/posix/chmod.c
+++ b/toys/posix/chmod.c
@@ -4,7 +4,7 @@
*
* See http://opengroup.org/onlinepubs/9699919799/utilities/chmod.html
-USE_CHMOD(NEWTOY(chmod, "<2?vR", TOYFLAG_BIN))
+USE_CHMOD(NEWTOY(chmod, "<2?vRf[-vf]", TOYFLAG_BIN))
config CHMOD
bool "chmod"