Hi!

As I commonly spell --inplace as --in-place, I'd like to suggest this
simple patch:


commit 5689f99b702788044a45e13582559832cf986328
Author: Jan-Benedict Glaw <[email protected]>
Date:   Wed Jun 26 22:49:31 2019 +0200

    Allow "--in-place" as an alternative option name for "--inplace".

diff --git a/options.c b/options.c
index e5b0cb68..7ff0c51d 100644
--- a/options.c
+++ b/options.c
@@ -926,6 +926,7 @@ static struct poptOption long_options[] = {
   {"no-S",             0,  POPT_ARG_VAL,    &sparse_files, 0, 0, 0 },
   {"preallocate",      0,  POPT_ARG_NONE,   &preallocate_files, 0, 0, 0},
   {"inplace",          0,  POPT_ARG_VAL,    &inplace, 1, 0, 0 },
+  {"in-place",         0,  POPT_ARG_VAL,    &inplace, 1, 0, 0 },
   {"no-inplace",       0,  POPT_ARG_VAL,    &inplace, 0, 0, 0 },
   {"append",           0,  POPT_ARG_NONE,   0, OPT_APPEND, 0, 0 },
   {"append-verify",    0,  POPT_ARG_VAL,    &append_mode, 2, 0, 0 },



Thanks,
  Jan-Benedict
-- 

Attachment: signature.asc
Description: PGP signature

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to