comparison scp.c @ 672:6c35ff40e496

Ignore -q if SCP_PROGRESS isn't set
author Matt Johnston <matt@ucc.asn.au>
date Tue, 24 Apr 2012 22:05:55 +0800
parents fc7ae88e63b3
children fedfb8ede1fd
comparison
equal deleted inserted replaced
671:675bbd630f5d 672:6c35ff40e496
363 break; 363 break;
364 case 'v': 364 case 'v':
365 addargs(&args, "-v"); 365 addargs(&args, "-v");
366 verbose_mode = 1; 366 verbose_mode = 1;
367 break; 367 break;
368 case 'q':
368 #ifdef PROGRESS_METER 369 #ifdef PROGRESS_METER
369 case 'q':
370 addargs(&args, "-q"); 370 addargs(&args, "-q");
371 showprogress = 0; 371 showprogress = 0;
372 break; 372 #endif
373 #endif 373 break;
374 374
375 /* Server options. */ 375 /* Server options. */
376 case 'd': 376 case 'd':
377 targetshouldbedirectory = 1; 377 targetshouldbedirectory = 1;
378 break; 378 break;