Add a new --test-no-warnings option

It disables annoying warnings that expert user don't
want to see.
This commit is contained in:
Andrea Mazzoleni 2015-11-24 18:49:20 +01:00
parent cffa2f0c10
commit a79052baa6
4 changed files with 26 additions and 14 deletions

View file

@ -103,6 +103,7 @@ struct snapraid_option {
int force_progress; /**< Force the use of the progress status. */
unsigned force_autosave_at; /**< Force autosave at the specified block. */
int fake_device; /**< Fake device data. */
int no_warnings; /**< Remove some warning messages. */
int expected_missing; /**< If missing files are expected and should not be reported. */
};