diff options
author | Matt Kraai | 2001-04-26 18:27:47 +0000 |
---|---|---|
committer | Matt Kraai | 2001-04-26 18:27:47 +0000 |
commit | 468f504fd79a590e632193fc0ecf999b86ae5cba (patch) | |
tree | dc8c600f648cdfad02c8556ef06a95679cfaf03f | |
parent | c1bdffe99b6fa6fdb0f43e0dec85d8bbfcab1572 (diff) | |
download | busybox-468f504fd79a590e632193fc0ecf999b86ae5cba.zip busybox-468f504fd79a590e632193fc0ecf999b86ae5cba.tar.gz |
Fix handling of -R flag.
-rw-r--r-- | chgrp.c | 1 | ||||
-rw-r--r-- | chmod.c | 1 | ||||
-rw-r--r-- | chown.c | 1 | ||||
-rw-r--r-- | coreutils/chgrp.c | 1 | ||||
-rw-r--r-- | coreutils/chmod.c | 1 | ||||
-rw-r--r-- | coreutils/chown.c | 1 |
6 files changed, 6 insertions, 0 deletions
@@ -56,6 +56,7 @@ int chgrp_main(int argc, char **argv) switch (opt) { case 'R': recursiveFlag = TRUE; + break; default: show_usage(); } @@ -51,6 +51,7 @@ int chmod_main(int argc, char **argv) switch (opt) { case 'R': recursiveFlag = TRUE; + break; default: show_usage(); } @@ -57,6 +57,7 @@ int chown_main(int argc, char **argv) switch (opt) { case 'R': recursiveFlag = TRUE; + break; default: show_usage(); } diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index 55e22f5..ec1a037 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c @@ -56,6 +56,7 @@ int chgrp_main(int argc, char **argv) switch (opt) { case 'R': recursiveFlag = TRUE; + break; default: show_usage(); } diff --git a/coreutils/chmod.c b/coreutils/chmod.c index b1d7512..93b7f78 100644 --- a/coreutils/chmod.c +++ b/coreutils/chmod.c @@ -51,6 +51,7 @@ int chmod_main(int argc, char **argv) switch (opt) { case 'R': recursiveFlag = TRUE; + break; default: show_usage(); } diff --git a/coreutils/chown.c b/coreutils/chown.c index e714b2d..9ff2872 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c @@ -57,6 +57,7 @@ int chown_main(int argc, char **argv) switch (opt) { case 'R': recursiveFlag = TRUE; + break; default: show_usage(); } |