From 3ef04cfdf3bb63c4fa72a2642dc264562bfd8242 Mon Sep 17 00:00:00 2001 From: jozan Date: Sat, 14 Nov 2020 16:27:49 +0000 Subject: Recursive bug fix FossilOrigin-Name: ab695ff8af7123fc04eec76b8215fd60ad0cc98d1444ec87fcabd3322b6323fa --- src/c_opts.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/c_opts.c') 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); } -- cgit v1.2.3