summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-02-18 12:42:04 -0800
committerWayne Davison <wayned@samba.org>2008-02-18 12:42:04 -0800
commit28fb6365d096cf1e7125cde322c92c1b80b4ecee (patch)
tree16c8214d7f1437fcb18567be1ab1c7c783bdfc0c /options.c
parent8365126b8db2f32522c1d73ddaaa86d8dc4ca1e0 (diff)
downloadrsync-28fb6365d096cf1e7125cde322c92c1b80b4ecee.tar.gz
rsync-28fb6365d096cf1e7125cde322c92c1b80b4ecee.tar.bz2
rsync-28fb6365d096cf1e7125cde322c92c1b80b4ecee.zip
Added --no-one-file-system and --no-x options.
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.c b/options.c
index d12d28a7..eeb24105 100644
--- a/options.c
+++ b/options.c
@@ -524,6 +524,8 @@ static struct poptOption long_options[] = {
{"ignore-times", 'I', POPT_ARG_NONE, &ignore_times, 0, 0, 0 },
{"size-only", 0, POPT_ARG_NONE, &size_only, 0, 0, 0 },
{"one-file-system", 'x', POPT_ARG_NONE, 0, 'x', 0, 0 },
+ {"no-one-file-system",'x',POPT_ARG_VAL, &one_file_system, 0, 0, 0 },
+ {"no-x", 'x', POPT_ARG_VAL, &one_file_system, 0, 0, 0 },
{"update", 'u', POPT_ARG_NONE, &update_only, 0, 0, 0 },
{"existing", 0, POPT_ARG_NONE, &ignore_non_existing, 0, 0, 0 },
{"ignore-non-existing",0,POPT_ARG_NONE, &ignore_non_existing, 0, 0, 0 },