Skip to content

Resolve "Warn otbcli user about unused parameters"

Julien Michel requested to merge 1621-warn-unused-parameters into develop

Summary

Solves #1621 (closed).

Rationale

In command-line launcher, check user parameters to detect parameters that will be ignored because their corresponding choice is not selected:

otbcli_ExtractROI  -mode.radius.cx 2 -in ~/tmp/tmp.tif -out ~/tmp/tmp2.tif uint16
WARNING: Parameter -mode.radius.cx will be ignored because -mode is standard. Consider adding -mode radius to application parameters.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


***Check before merging:*** - All discussions are resolved - At least 2 👍 votes from core developers, no 👎 vote. - The feature branch is (reasonably) up-to-date with the base branch - Dashboard is green - Copyright owner has signed the ORFEO ToolBox Contributor License Agreement

Merge request reports