diff options
author | Wayne Davison <wayned@samba.org> | 2006-02-27 23:35:18 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-02-27 23:35:18 +0000 |
commit | beab3078d637de643825a3b8f0c246a7c2db042d (patch) | |
tree | 4a3dd701ddb210bbba7a4fff80d2640f22a0ff24 /options.c | |
parent | 530a2199dae9e88ed9e5b15fedb219d188f71936 (diff) | |
download | android_external_rsync-beab3078d637de643825a3b8f0c246a7c2db042d.tar.gz android_external_rsync-beab3078d637de643825a3b8f0c246a7c2db042d.tar.bz2 android_external_rsync-beab3078d637de643825a3b8f0c246a7c2db042d.zip |
Added --no-H and --no-hard-links.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -437,7 +437,9 @@ static struct poptOption long_options[] = { {"safe-links", 0, POPT_ARG_NONE, &safe_symlinks, 0, 0, 0 }, {"copy-dirlinks", 'k', POPT_ARG_NONE, ©_dirlinks, 0, 0, 0 }, {"keep-dirlinks", 'K', POPT_ARG_NONE, &keep_dirlinks, 0, 0, 0 }, - {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links, 0, 0, 0 }, + {"hard-links", 'H', POPT_ARG_VAL, &preserve_hard_links, 1, 0, 0 }, + {"no-hard-links", 0, POPT_ARG_VAL, &preserve_hard_links, 0, 0, 0 }, + {"no-H", 0, POPT_ARG_VAL, &preserve_hard_links, 0, 0, 0 }, {"relative", 'R', POPT_ARG_VAL, &relative_paths, 1, 0, 0 }, {"no-relative", 0, POPT_ARG_VAL, &relative_paths, 0, 0, 0 }, {"no-R", 0, POPT_ARG_VAL, &relative_paths, 0, 0, 0 }, |