mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Changes again the output of check/fix.
Now the file name are printed unless the undocumented -q is specified.
This commit is contained in:
parent
40ee711a6e
commit
066709370e
7 changed files with 15 additions and 48 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue