Output an FERROR* for a general io_error, and an FWARNING for other
[rsync/rsync.git] / batch.c
diff --git a/batch.c b/batch.c
index b8d99a0..ac89583 100644 (file)
--- a/batch.c
+++ b/batch.c
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 1999 Weiss
  * Copyright (C) 2004 Chris Shoemaker
- * Copyright (C) 2004-2007 Wayne Davison
+ * Copyright (C) 2004-2008 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
@@ -135,7 +135,7 @@ void check_batch_flags(void)
                                        set ? "Please" : "Do not");
                                exit_cleanup(RERR_SYNTAX);
                        }
-                       if (verbose) {
+                       if (INFO_GTE(MISC, 1)) {
                                rprintf(FINFO,
                                        "%sing the %s option to match the batchfile.\n",
                                        set ? "Sett" : "Clear", flag_name[i]);