From: Wayne Davison Date: Sun, 9 Sep 2007 07:58:19 +0000 (+0000) Subject: Added --no-protect-args and --no-s. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/c35d6e3522d1c756f63fe911b4ad9fddbdf66d95 Added --no-protect-args and --no-s. --- diff --git a/options.c b/options.c index c91741c7..b6eab10e 100644 --- a/options.c +++ b/options.c @@ -593,7 +593,9 @@ static struct poptOption long_options[] = { {"files-from", 0, POPT_ARG_STRING, &files_from, 0, 0, 0 }, {"from0", '0', POPT_ARG_VAL, &eol_nulls, 1, 0, 0}, {"no-from0", 0, POPT_ARG_VAL, &eol_nulls, 0, 0, 0}, - {"protect-args", 's', POPT_ARG_NONE, &protect_args, 0, 0, 0}, + {"protect-args", 's', POPT_ARG_VAL, &protect_args, 1, 0, 0}, + {"no-protect-args", 0, POPT_ARG_VAL, &protect_args, 0, 0, 0}, + {"no-s", 0, POPT_ARG_VAL, &protect_args, 0, 0, 0}, {"numeric-ids", 0, POPT_ARG_VAL, &numeric_ids, 1, 0, 0 }, {"no-numeric-ids", 0, POPT_ARG_VAL, &numeric_ids, 0, 0, 0 }, {"timeout", 0, POPT_ARG_INT, &io_timeout, 0, 0, 0 },