summaryrefslogtreecommitdiffhomepage
path: root/coreutils
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-04-26 18:27:47 +0000
committerMatt Kraai <kraai@debian.org>2001-04-26 18:27:47 +0000
commit468f504fd79a590e632193fc0ecf999b86ae5cba (patch)
treedc8c600f648cdfad02c8556ef06a95679cfaf03f /coreutils
parentc1bdffe99b6fa6fdb0f43e0dec85d8bbfcab1572 (diff)
Fix handling of -R flag.
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chgrp.c1
-rw-r--r--coreutils/chmod.c1
-rw-r--r--coreutils/chown.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index 55e22f528..ec1a0370c 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 b1d75129b..93b7f78cd 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 e714b2d7a..9ff287251 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();
}