OK for both. Christian Weisgerber <na...@mips.inka.de> wrote:
> * Add --del as alias for --delete, because I've grown used to this > shorter option. For GPL rsync, these behave identically when > talking to rsync 3.0.0 or newer. > > * Drop --no-delete. In GPL rsync, the "no-" prefix is only available > for options that are implied by other options. (Weirdly, this > includes "verbose".) --delete is never implied and GPL rsync does > not accept --no-delete. > > ok? > > Index: main.c > =================================================================== > RCS file: /cvs/src/usr.bin/rsync/main.c,v > retrieving revision 1.36 > diff -u -p -r1.36 main.c > --- main.c 25 Mar 2019 21:09:49 -0000 1.36 > +++ main.c 30 Mar 2019 06:25:30 -0000 > @@ -284,8 +284,8 @@ main(int argc, char *argv[]) > { "archive", no_argument, NULL, 'a' }, > { "help", no_argument, NULL, 'h' }, > { "compress", no_argument, NULL, 'z' }, > + { "del", no_argument, &opts.del, 1 }, > { "delete", no_argument, &opts.del, 1 }, > - { "no-delete", no_argument, &opts.del, 0 }, > { "devices", no_argument, &opts.devices, 1 }, > { "no-devices", no_argument, &opts.devices, 0 }, > { "group", no_argument, &opts.preserve_gids, 1 }, > -- > Christian "naddy" Weisgerber na...@mips.inka.de >