Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into CI-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
bkille committed May 18, 2023
2 parents f78e4be + 06b53aa commit 58db0ca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/map/include/parseCmdArgs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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"))
{
Expand Down

0 comments on commit 58db0ca

Please sign in to comment.