diff options
author | jozan <jozan@noemail.net> | 2020-11-12 21:49:33 +0000 |
---|---|---|
committer | jozan <jozan@noemail.net> | 2020-11-12 21:49:33 +0000 |
commit | 443408f1874df0854234cd5cfdcac74cb942c7ae (patch) | |
tree | 1343001318cc87a5fb301a71006d76fc82d44ad0 /src/c_opts.c | |
parent | Update (diff) | |
download | unixize-443408f1874df0854234cd5cfdcac74cb942c7ae.tar.gz unixize-443408f1874df0854234cd5cfdcac74cb942c7ae.tar.bz2 unixize-443408f1874df0854234cd5cfdcac74cb942c7ae.tar.xz unixize-443408f1874df0854234cd5cfdcac74cb942c7ae.tar.zst unixize-443408f1874df0854234cd5cfdcac74cb942c7ae.zip |
New option to show what's untouched
FossilOrigin-Name: 1c121981ba14829f2a8a2008e94f721609b8033f7487100e1eff20efb7736b61
Diffstat (limited to 'src/c_opts.c')
-rw-r--r-- | src/c_opts.c | 7 |
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; } |