Add safety check for local --remove-source-files.
[rsync.git] / usage.c
diff --git a/usage.c b/usage.c
index db13535f4a25291f3d4e537689241ca4727c617e..df033c92b5e2c1be15a00760c660d9827c41890b 100644 (file)
--- a/usage.c
+++ b/usage.c
@@ -1,7 +1,7 @@
 /*
  * Some usage & version related functions.
  *
- * Copyright (C) 2002-2020 Wayne Davison
+ * Copyright (C) 2002-2022 Wayne Davison
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -139,21 +139,26 @@ static void print_info_flags(enum logcode f)
 
        "*Optimizations",
 
-#ifndef HAVE_SIMD
+#ifndef USE_ROLL_SIMD
                "no "
 #endif
-                       "SIMD",
+                       "SIMD-roll",
 
-#ifndef HAVE_ASM
+#ifndef USE_ROLL_ASM
                "no "
 #endif
-                       "asm",
+                       "asm-roll",
 
 #ifndef USE_OPENSSL
                "no "
 #endif
                        "openssl-crypto",
 
+#ifndef USE_MD5_ASM
+               "no "
+#endif
+                       "asm-MD5",
+
                NULL
        };
 
@@ -190,6 +195,8 @@ void print_rsync_version(enum logcode f)
 
        print_info_flags(f);
 
+       init_checksum_choices();
+
        rprintf(f, "Checksum list:\n");
        get_default_nno_list(&valid_checksums, tmpbuf, sizeof tmpbuf, '(');
        rprintf(f, "    %s\n", tmpbuf);
@@ -240,7 +247,7 @@ void usage(enum logcode F)
 #include "help-rsync.h"
   rprintf(F,"\n");
   rprintf(F,"Use \"rsync --daemon --help\" to see the daemon-mode command-line options.\n");
-  rprintf(F,"Please see the rsync(1) and rsyncd.conf(5) man pages for full documentation.\n");
+  rprintf(F,"Please see the rsync(1) and rsyncd.conf(5) manpages for full documentation.\n");
   rprintf(F,"See https://rsync.samba.org/ for updates, bug reports, and answers\n");
 }
 
@@ -253,7 +260,7 @@ void daemon_usage(enum logcode F)
 #include "help-rsyncd.h"
   rprintf(F,"\n");
   rprintf(F,"If you were not trying to invoke rsync as a daemon, avoid using any of the\n");
-  rprintf(F,"daemon-specific rsync options.  See also the rsyncd.conf(5) man page.\n");
+  rprintf(F,"daemon-specific rsync options.  See also the rsyncd.conf(5) manpage.\n");
 }
 
 const char *rsync_version(void)