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/u_utils.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/u_utils.c')
-rw-r--r-- | src/u_utils.c | 5 |
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; |