Skip to content

Commit

Permalink
fix(SupportInputs): pass through with --interface-json
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Feb 14, 2023
1 parent a78344d commit 47eb10f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/itkSupportInputImageTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ SupportInputImageTypes
for (int ii = 0; ii < iwpArgc; ++ii)
{
const std::string arg(iwpArgv[ii]);
if (arg == "-h" || arg == "--help")
if (arg == "-h" || arg == "--help" || arg == "--interface-json")
{
passThrough = true;
}
Expand Down
2 changes: 1 addition & 1 deletion include/itkSupportInputMeshTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ SupportInputMeshTypes
for (int ii = 0; ii < iwpArgc; ++ii)
{
const std::string arg(iwpArgv[ii]);
if (arg == "-h" || arg == "--help")
if (arg == "-h" || arg == "--help" || arg == "--interface-json")
{
passThrough = true;
}
Expand Down
2 changes: 1 addition & 1 deletion include/itkSupportInputPolyDataTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ SupportInputPolyDataTypes
for (int ii = 0; ii < iwpArgc; ++ii)
{
const std::string arg(iwpArgv[ii]);
if (arg == "-h" || arg == "--help")
if (arg == "-h" || arg == "--help" || arg == "--interface-json")
{
passThrough = true;
}
Expand Down

0 comments on commit 47eb10f

Please sign in to comment.