Changes again the output of check/fix.

Now the file name are printed unless the undocumented -q is specified.
This commit is contained in:
Andrea Mazzoleni 2013-10-31 18:41:10 +01:00
parent 40ee711a6e
commit 066709370e
7 changed files with 15 additions and 48 deletions

View file

@ -127,6 +127,7 @@ struct option long_options[] = {
{ "speed-test", 0, 0, 'T' },
{ "gen-conf", 1, 0, 'C' },
{ "verbose", 0, 0, 'v' },
{ "quiet", 0, 0, 'q' },
{ "gui", 0, 0, 'G' }, /* undocumented GUI interface command */
{ "help", 0, 0, 'h' },
{ "version", 0, 0, 'V' },
@ -188,7 +189,7 @@ struct option long_options[] = {
};
#endif
#define OPTIONS "c:f:d:mep:o:s:t:i:l:ZEUDNaTC:vhVG"
#define OPTIONS "c:f:d:mep:o:s:t:i:l:ZEUDNaTC:vqhVG"
volatile int global_interrupt = 0;
@ -356,6 +357,9 @@ int main(int argc, char* argv[])
case 'v' :
opt.verbose = 1;
break;
case 'q' :
opt.quiet = 1;
break;
case 'G' :
opt.gui = 1;
break;