diff --git a/src/parseargs.cc b/src/parseargs.cc index b5bbd42..9e290a2 100644 --- a/src/parseargs.cc +++ b/src/parseargs.cc @@ -30,13 +30,13 @@ void processFilenames(po::variables_map const& vm, ("input,i", po::value(), "Input image") ("output,o", po::value(), "Image output path (default: \"output_\" + input path)") - ("method,m", po::value(), "Method number to be used (default: 1)") ("iterations,n", po::value(), "Number of iterations (default: 2000)") - ("size,s", "Controlled size of the random shapes (default: false)") + ("method,m", po::value(), "Method number to be used (default: 1)") ("division,d", po::value(), "For method 5, number of regions the reference image should be divided " "into. For instance, -d4 will divide the reference image into a 4*4 " "matrice of smaller images. (default: 1)") + ("size,s", "Controlled size of the random shapes (default: false)") ("verbose,v", "Enables verbosity"); po::variables_map vm; po::store(po::parse_command_line(t_ac, t_av, desc), vm); @@ -56,6 +56,6 @@ void processFilenames(po::variables_map const& vm, vm.count("iterations") ? vm["iterations"].as() : DEFAULT_ITERATIONS, vm.count("method") ? vm["method"].as() : 1, vm.count("division") ? vm["division"].as() : 1, - vm.count("size") ? true : false, - vm.count("verbose") ? true : false); + vm.count("size"), + vm.count("verbose")); }