Skip to content

BUG: Boolean flags expect same parameters as with GenerateCLP#7

Open
fbudin69500 wants to merge 1 commit intocommontk:masterfrom
fbudin69500:same_behavior_as_generateCLP_CLIs_for_boolean
Open

BUG: Boolean flags expect same parameters as with GenerateCLP#7
fbudin69500 wants to merge 1 commit intocommontk:masterfrom
fbudin69500:same_behavior_as_generateCLP_CLIs_for_boolean

Conversation

@fbudin69500
Copy link

In a command line tool using GenerateCLP to parse its command line,
boolean are not expected to pass a value. If the flag is specified,
the value is set to true. If the flag is not specified, the value
is set to false, independently of the default value specified in
the XML description file. The default value of booleans is only
used when creating the GUI in Slicer.

In a command line tool using GenerateCLP to parse its command line,
boolean are not expected to pass a value. If the flag is specified,
the value is set to true. If the flag is not specified, the value
is set to false, independently of the default value specified in
the XML description file. The default value of booleans is only
used when creating the GUI in Slicer.
@cdeepakroy
Copy link

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants