Skip to content

Commit

Permalink
DOC: Fix usage information in ImageReadExtractWrite example
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed May 14, 2021
1 parent 0de9cfe commit c901eff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Examples/IO/ImageReadExtractWrite.cxx
Expand Up @@ -60,12 +60,11 @@ int
main(int argc, char ** argv)
{
// Verify the number of parameters in the command line
if (argc < 3)
if (argc < 4)
{
std::cerr << "Usage: " << std::endl;
std::cerr << argv[0] << " input3DImageFile output2DImageFile "
std::cerr << argv[0] << " input3DImageFile output2DImageFile sliceNumber"
<< std::endl;
std::cerr << " sliceNumber " << std::endl;
return EXIT_FAILURE;
}

Expand Down

0 comments on commit c901eff

Please sign in to comment.