- {"backup", 'b', POPT_ARG_NONE, &make_backups , 0, 0, 0 },
- {"dry-run", 'n', POPT_ARG_NONE, &dry_run , 0, 0, 0 },
- {"sparse", 'S', POPT_ARG_NONE, &sparse_files , 0, 0, 0 },
- {"cvs-exclude", 'C', POPT_ARG_NONE, &cvs_exclude , 0, 0, 0 },
- {"update", 'u', POPT_ARG_NONE, &update_only , 0, 0, 0 },
- {"links", 'l', POPT_ARG_NONE, &preserve_links , 0, 0, 0 },
- {"copy-links", 'L', POPT_ARG_NONE, ©_links , 0, 0, 0 },
- {"whole-file", 'W', POPT_ARG_NONE, &whole_file, 0, 0, 0 },
- {"no-whole-file", 0, POPT_ARG_NONE, 0, OPT_NO_WHOLE_FILE, 0, 0 },
- {"copy-unsafe-links", 0, POPT_ARG_NONE, ©_unsafe_links , 0, 0, 0 },
- {"perms", 'p', POPT_ARG_NONE, &preserve_perms , 0, 0, 0 },
- {"owner", 'o', POPT_ARG_NONE, &preserve_uid , 0, 0, 0 },
- {"group", 'g', POPT_ARG_NONE, &preserve_gid , 0, 0, 0 },
- {"devices", 'D', POPT_ARG_NONE, &preserve_devices , 0, 0, 0 },
- {"times", 't', POPT_ARG_NONE, &preserve_times , 0, 0, 0 },
- {"checksum", 'c', POPT_ARG_NONE, &always_checksum , 0, 0, 0 },
+ {"backup", 'b', POPT_ARG_NONE, &make_backups, 0, 0, 0 },
+ {"dry-run", 'n', POPT_ARG_NONE, &dry_run, 0, 0, 0 },
+ {"sparse", 'S', POPT_ARG_NONE, &sparse_files, 0, 0, 0 },
+ {"cvs-exclude", 'C', POPT_ARG_NONE, &cvs_exclude, 0, 0, 0 },
+ {"update", 'u', POPT_ARG_NONE, &update_only, 0, 0, 0 },
+ {"inplace", 0, POPT_ARG_NONE, &inplace, 0, 0, 0 },
+ {"keep-dirlinks", 'K', POPT_ARG_NONE, &keep_dirlinks, 0, 0, 0 },
+ {"links", 'l', POPT_ARG_NONE, &preserve_links, 0, 0, 0 },
+ {"copy-links", 'L', POPT_ARG_NONE, ©_links, 0, 0, 0 },
+ {"whole-file", 'W', POPT_ARG_VAL, &whole_file, 1, 0, 0 },
+ {"no-whole-file", 0, POPT_ARG_VAL, &whole_file, 0, 0, 0 },
+ {"copy-unsafe-links", 0, POPT_ARG_NONE, ©_unsafe_links, 0, 0, 0 },
+ {"perms", 'p', POPT_ARG_NONE, &preserve_perms, 0, 0, 0 },
+ {"owner", 'o', POPT_ARG_NONE, &preserve_uid, 0, 0, 0 },
+ {"group", 'g', POPT_ARG_NONE, &preserve_gid, 0, 0, 0 },
+ {"devices", 'D', POPT_ARG_NONE, &preserve_devices, 0, 0, 0 },
+ {"times", 't', POPT_ARG_NONE, &preserve_times, 0, 0, 0 },
+ {"checksum", 'c', POPT_ARG_NONE, &always_checksum, 0, 0, 0 },