From c35d6e3522d1c756f63fe911b4ad9fddbdf66d95 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 9 Sep 2007 07:58:19 +0000 Subject: [PATCH] Added --no-protect-args and --no-s. --- options.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }, -- 2.34.1