]> Creatis software - clitk.git/blobdiff - tools/clitkMIPGenericFilter.cxx
MIP tool using David's framework
[clitk.git] / tools / clitkMIPGenericFilter.cxx
index 1cfd41b80c2f24df5a36edd6e1688b2605bb5d52..fcb4cfb8f535cbbccc4b8c342511adbc0f57f623 100644 (file)
@@ -62,8 +62,8 @@ void MIPGenericFilter::SetArgsInfo(const args_info_type & a)
 {
   mArgsInfo=a;
   SetIOVerbose(mArgsInfo.verbose_flag);
-  if (mArgsInfo.imagetypes_flag) this->PrintAvailableImageTypes();
-
+  if (mArgsInfo.imagetypes_given && mArgsInfo.imagetypes_flag)
+    this->PrintAvailableImageTypes();
   if (mArgsInfo.input_given) {
     SetInputFilename(mArgsInfo.input_arg);
   }