Skip to content

Commit

Permalink
Fix RegistrationExercises argument parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jan 23, 2013
1 parent b15b7b9 commit 069d687
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Exercises/Registration/RegistrationExercises.cxx
Expand Up @@ -68,10 +68,10 @@ class CommandIterationUpdate : public itk::Command

int main( int argc, char *argv[] )
{
if( argc < 4 )
if( argc < 5 )
{
std::cout << argv[0] << " fixedImage movingImage outputImage numberIterations " << std::endl;
exit( 1 );
std::cerr << argv[0] << " fixedImage movingImage outputImage numberIterations " << std::endl;
return EXIT_FAILURE;
}

// Define what image dimension we will be working with and what type we
Expand Down

0 comments on commit 069d687

Please sign in to comment.