Skip to content

Commit

Permalink
mri_segcentroids fix: check for cmd args
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoopes committed Jan 3, 2022
1 parent 7226af3 commit 6cc1fea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mri_segcentroids/mri_segcentroids.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ class InputParser {
int precision;

InputParser(int &argc, char **argv) {

// check for any input
if (argc == 1) printHelp(1);

include_zero = false;
int i = 1;
std::string opt;
Expand Down

0 comments on commit 6cc1fea

Please sign in to comment.