Commit e4b80898 authored by Wayne Davison's avatar Wayne Davison

Moved the auto-setting of --verbose when --dry-run is specified into

options.c.
parent 59e52bf2
...@@ -30,7 +30,6 @@ extern int am_sender; ...@@ -30,7 +30,6 @@ extern int am_sender;
extern int am_generator; extern int am_generator;
extern int am_daemon; extern int am_daemon;
extern int verbose; extern int verbose;
extern int itemize_changes;
extern int blocking_io; extern int blocking_io;
extern int delete_before; extern int delete_before;
extern int daemon_over_rsh; extern int daemon_over_rsh;
...@@ -1174,9 +1173,6 @@ int main(int argc,char *argv[]) ...@@ -1174,9 +1173,6 @@ int main(int argc,char *argv[])
exit_cleanup(RERR_SYNTAX); exit_cleanup(RERR_SYNTAX);
} }
if (dry_run && !verbose && !itemize_changes)
verbose = 1;
if (am_server) { if (am_server) {
set_nonblocking(STDIN_FILENO); set_nonblocking(STDIN_FILENO);
set_nonblocking(STDOUT_FILENO); set_nonblocking(STDOUT_FILENO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment