From 468f504fd79a590e632193fc0ecf999b86ae5cba Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Thu, 26 Apr 2001 18:27:47 +0000 Subject: Fix handling of -R flag. --- coreutils/chgrp.c | 1 + coreutils/chmod.c | 1 + coreutils/chown.c | 1 + 3 files changed, 3 insertions(+) (limited to 'coreutils') 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(); } -- cgit v1.2.3