Ignore -W and -K arguments for check_disk on Windows

fixes #9913
This commit is contained in:
Gunnar Beutner 2015-08-15 10:26:43 +02:00
parent 1c657feea1
commit 4fcb668b79
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ static INT parseArguments(INT ac, WCHAR **av, po::variables_map& vm, printInfoSt
("path,p", po::wvalue<std::vector<std::wstring>>()->multitoken(), "Declare explicitly which drives to check (default checks all)") ("path,p", po::wvalue<std::vector<std::wstring>>()->multitoken(), "Declare explicitly which drives to check (default checks all)")
("exclude_device,x", po::wvalue<std::vector<std::wstring>>()->multitoken(), "Exclude these drives from check") ("exclude_device,x", po::wvalue<std::vector<std::wstring>>()->multitoken(), "Exclude these drives from check")
("exclude-type,X", po::wvalue<std::vector<std::wstring>>()->multitoken(), "Exclude partition types (ignored)") ("exclude-type,X", po::wvalue<std::vector<std::wstring>>()->multitoken(), "Exclude partition types (ignored)")
("iwarning,W", po::wvalue<std::wstring>(), "Warning threshold for inodes (ignored)")
("icritical,K", po::wvalue<std::wstring>(), "Critical threshold for inodes (ignored)")
("unit,u", po::wvalue<std::wstring>(), "Assign unit possible are: B, kB, MB, GB, TB")\ ("unit,u", po::wvalue<std::wstring>(), "Assign unit possible are: B, kB, MB, GB, TB")\
("megabytes,m", "use megabytes, overridden by -unit") ("megabytes,m", "use megabytes, overridden by -unit")
; ;