From 443408f1874df0854234cd5cfdcac74cb942c7ae Mon Sep 17 00:00:00 2001 From: jozan Date: Thu, 12 Nov 2020 21:49:33 +0000 Subject: New option to show what's untouched FossilOrigin-Name: 1c121981ba14829f2a8a2008e94f721609b8033f7487100e1eff20efb7736b61 --- src/c_opts.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/c_opts.c') 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; } -- cgit v1.2.3