Ignore -q if SCP_PROGRESS isn't set

This commit is contained in:
Matt Johnston 2012-04-24 22:05:55 +08:00
parent 6467b8d903
commit e242b2820c

4
scp.c
View File

@ -365,12 +365,12 @@ main(int argc, char **argv)
addargs(&args, "-v");
verbose_mode = 1;
break;
#ifdef PROGRESS_METER
case 'q':
#ifdef PROGRESS_METER
addargs(&args, "-q");
showprogress = 0;
break;
#endif
break;
/* Server options. */
case 'd':