aboutsummaryrefslogtreecommitdiffstats
path: root/src/u_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/u_utils.c')
-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;