Make --progress imply --verbose without incrementing verbosity.
authorJ.W. Schultz <jw@samba.org>
Wed, 6 Aug 2003 06:45:14 +0000 (06:45 +0000)
committerJ.W. Schultz <jw@samba.org>
Wed, 6 Aug 2003 06:45:14 +0000 (06:45 +0000)
options.c
rsync.yo

index 01e9695..52fc8c7 100644 (file)
--- a/options.c
+++ b/options.c
@@ -641,6 +641,9 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
                exit_cleanup(RERR_SYNTAX);
        }
 
+       if (do_progress && !verbose)
+               verbose = 1;
+
        *argv = poptGetArgs(pc);
        if (*argv)
                *argc = count_args(*argv);
index fce0267..ef11ea4 100644 (file)
--- a/rsync.yo
+++ b/rsync.yo
@@ -832,9 +832,7 @@ make a subsequent transfer of the rest of the file much faster.
 dit(bf(--progress)) This option tells rsync to print information
 showing the progress of the transfer. This gives a bored user
 something to watch.
-
-This option is normally combined with -v. Using this option without
-the -v option will produce weird results on your display.
+Implies --verbose without incrementing verbosity.
 
 dit(bf(-P)) The -P option is equivalent to --partial --progress. I
 found myself typing that combination quite often so I created an