OSDN Git Service

Add -f to chmod (just turns off -v).
authorRob Landley <rob@landley.net>
Wed, 17 Apr 2013 05:15:12 +0000 (00:15 -0500)
committerRob Landley <rob@landley.net>
Wed, 17 Apr 2013 05:15:12 +0000 (00:15 -0500)
toys/posix/chmod.c

index 89b6e08..64369b6 100644 (file)
@@ -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"