diff --git a/src/map/include/parseCmdArgs.hpp b/src/map/include/parseCmdArgs.hpp index ff10863..1ad5d4d 100644 --- a/src/map/include/parseCmdArgs.hpp +++ b/src/map/include/parseCmdArgs.hpp @@ -237,6 +237,12 @@ sequences shorter than segment length will be ignored", ArgvParser::OptionRequir { int result = cmd.parse(argc, argv); + if(cmd.foundOption("version")) + { + std::cerr << fixed::VERSION << std::endl; + exit(0); + } + //Make sure we get the right command line args if (result != ArgvParser::NoParserError) { @@ -251,12 +257,6 @@ sequences shorter than segment length will be ignored", ArgvParser::OptionRequir std::stringstream str; - if(cmd.foundOption("version")) - { - std::cerr << fixed::VERSION << std::endl; - exit(0); - } - //Parse reference files if(cmd.foundOption("ref")) {