aboutsummaryrefslogtreecommitdiffstats
path: root/src/u_utils.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-12 21:49:33 +0000
committerjozan <jozan@noemail.net>2020-11-12 21:49:33 +0000
commit443408f1874df0854234cd5cfdcac74cb942c7ae (patch)
tree1343001318cc87a5fb301a71006d76fc82d44ad0 /src/u_utils.c
parentUpdate (diff)
downloadunixize-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 '')
-rw-r--r--src/u_utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/u_utils.c b/src/u_utils.c
index a2ad0a4..b5373e5 100644
--- a/src/u_utils.c
+++ b/src/u_utils.c
@@ -129,6 +129,11 @@ u_get_extra_args(char args[], struct opts_s* opts)
null_char += 2;
i++;
}
+ if (opts->rpretend == TRUE) {
+ memcpy((char*)args + (i * 2), "r:", 3 * sizeof(char));
+ null_char += 2;
+ i++;
+ }
if (opts->verbose == TRUE) {
memcpy((char*)args + (i * 2), "v:", 3 * sizeof(char));
null_char += 2;