1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-03 14:14:11 +00:00

Manage read errors.

If instructed to continue on errors, store info correctly in the db.
This commit is contained in:
King_DuckZ 2015-12-10 12:13:16 +00:00
parent ed3dea8f2c
commit a0b87e6a2d
8 changed files with 81 additions and 33 deletions

View file

@ -83,6 +83,7 @@ namespace din {
#else
("type,t", po::value<char>()->default_value('V'), type_param_help.c_str())
#endif
("ignore-errors", "Move on even if reading a file fails. Unreadable files are marked as such in the db.")
;
po::options_description positional_options("Positional options");
positional_options.add_options()