aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_opts.c')
-rw-r--r--src/c_opts.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/c_opts.c b/src/c_opts.c
index fedc26a..786a16c 100644
--- a/src/c_opts.c
+++ b/src/c_opts.c
@@ -112,6 +112,9 @@ c_recursive_parse
else if ((*ptr)[0] == 'p') {
opts->pretend = TRUE;
}
+ else if ((*ptr)[0] == 'r') {
+ opts->rpretend = TRUE;
+ }
else if ((*ptr)[0] == 'R') {
opts->recursive = TRUE;
}
@@ -144,6 +147,7 @@ c_get_opts
opts->hyphen = FALSE;
opts->preserve = FALSE;
opts->pretend = FALSE;
+ opts->rpretend = FALSE;
opts->recursive = FALSE;
opts->verbose = FALSE;
opts->cxx = 0;
@@ -170,6 +174,9 @@ c_get_opts
else if (opt == 'p') {
opts->pretend = TRUE;
}
+ else if (opt == 'r') {
+ opts->rpretend = TRUE;
+ }
else if (opt == 'R') {
opts->recursive = TRUE;
}