diff --git a/tools/analyse.cpp b/tools/analyse.cpp index f8800d6..f1821fa 100644 --- a/tools/analyse.cpp +++ b/tools/analyse.cpp @@ -174,13 +174,13 @@ int main (int argc, char const **argv) } emory::chunk::params p = emory::chunk::DEFAULT_PARAMS; - if (argc > ARG_BITS + 1) + if (argc > ARG_BITS) p.bits = cruft::parse::from_string (argv[ARG_BITS]); - if (argc > ARG_WINDOW + 1) + if (argc > ARG_WINDOW) p.window = cruft::parse::from_string (argv[ARG_WINDOW]); - if (argc > ARG_BITS + 1) + if (argc > ARG_MINIMUM) p.minimum = cruft::parse::from_string (argv[ARG_MINIMUM]); - if (argc > ARG_MAXIMUM + 1) + if (argc > ARG_MAXIMUM) p.maximum = cruft::parse::from_string (argv[ARG_MAXIMUM]); std::cerr << p << '\n';