]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Some more docs/news changes.
authorWayne Davison <wayne@opencoder.net>
Sun, 21 Jun 2020 15:40:23 +0000 (08:40 -0700)
committerWayne Davison <wayne@opencoder.net>
Sun, 21 Jun 2020 15:58:45 +0000 (08:58 -0700)
- Mention the -VV behavior.
- Mention how the protect-args default is presented in -V list.

NEWS.md
options.c
rsync.1.md

diff --git a/NEWS.md b/NEWS.md
index c67936ae98c1b51d3c3c3b49303fb4ae1e55fdf3..0e4ad85528d74d57003e48ce8b98cfd6664b8d40 100644 (file)
--- a/NEWS.md
+++ b/NEWS.md
@@ -21,6 +21,14 @@ Protocol: 31 (unchanged)
 
 ### ENHANCEMENTS:
 
- - None.
+ - Added "atimes" to the capabilities list that `--version` outputs.
+
+ - Mention either "default protect-args" or "optional protect-args" in the
+   `--version` capabilities depending on how rsync was configured.
+
+ - Some info on optimizations was elided from the `--version` capabilities
+   since they aren't really user-facing capabilities.  You can get the info
+   back (plus the status of a couple extra optimizations) by repeating the
+   `--version` option (e.g. `-VV`).
 
 ------------------------------------------------------------------------------
index 1207ab0a8fbf3cc365a480df0705b772f5fa78ef..6c99dd4b8aeb8a5a85a81373912432586978a0d2 100644 (file)
--- a/options.c
+++ b/options.c
@@ -632,7 +632,7 @@ static void print_capabilities(enum logcode f)
 #else
                "optional "
 #endif
-                       "protected-args",
+                       "protect-args",
 
 #ifndef ICONV_OPTION
                "no "
index 57f750afb860f40db4012787a3909c40829f1449..137c25a53bfe8d5d33d898869088fd48b531e0a1 100644 (file)
@@ -518,6 +518,9 @@ your home directory (remove the '=' for that).
     list of compression algorithms, a list of compiled-in capabilities, a link
     to the rsync web site, and some license/copyright info.
 
+    Repeat the option (`-VV`) to include some optimization info at the end of
+    the capabilities list.
+
 0.  `--verbose`, `-v`
 
     This option increases the amount of information you are given during the
@@ -2068,6 +2071,9 @@ your home directory (remove the '=' for that).
 
     Rsync can also be configured (at build time) to have this option enabled by
     default (with is overridden by both the environment and the command-line).
+    Run `rsync -V` to check if this is the case, as it will display "default
+    protect-args" or "optional protect-args" depending on how it was compiled.
+
     This option will eventually become a new default setting at some
     as-yet-undetermined point in the future.