diff options
author | jozan <jozan@noemail.net> | 2020-11-14 16:27:49 +0000 |
---|---|---|
committer | jozan <jozan@noemail.net> | 2020-11-14 16:27:49 +0000 |
commit | 3ef04cfdf3bb63c4fa72a2642dc264562bfd8242 (patch) | |
tree | 338ae92f2fad36689fdaee294401422b6816e1d0 /src/c_opts.c | |
parent | Indent changes (diff) | |
download | unixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.tar.gz unixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.tar.bz2 unixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.tar.xz unixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.tar.zst unixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.zip |
Recursive bug fix
FossilOrigin-Name: ab695ff8af7123fc04eec76b8215fd60ad0cc98d1444ec87fcabd3322b6323fa
Diffstat (limited to 'src/c_opts.c')
-rw-r--r-- | src/c_opts.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/c_opts.c b/src/c_opts.c index 786a16c..6df0722 100644 --- a/src/c_opts.c +++ b/src/c_opts.c @@ -113,7 +113,7 @@ c_recursive_parse opts->pretend = TRUE; } else if ((*ptr)[0] == 'r') { - opts->rpretend = TRUE; + opts->rverbose = TRUE; } else if ((*ptr)[0] == 'R') { opts->recursive = TRUE; @@ -147,7 +147,7 @@ c_get_opts opts->hyphen = FALSE; opts->preserve = FALSE; opts->pretend = FALSE; - opts->rpretend = FALSE; + opts->rverbose = FALSE; opts->recursive = FALSE; opts->verbose = FALSE; opts->cxx = 0; @@ -175,7 +175,7 @@ c_get_opts opts->pretend = TRUE; } else if (opt == 'r') { - opts->rpretend = TRUE; + opts->rverbose = TRUE; } else if (opt == 'R') { opts->recursive = TRUE; @@ -221,8 +221,5 @@ c_get_opts if (opts->confirm == TRUE) { ret = c_prompt_confirm(); } - if (opts->pretend == TRUE) { - opts->verbose = TRUE; - } return (ret); } |