Skip to content

BUG: ExtensionWizard: Provide informative msg if an option is not supported

Created by: jcfr

If Python is not built with SSL support, the variable _haveGit is set to False. In that case, user should still provide the argument but the wizard should fail providing an informative message. is True.

For example, in case the option "--publish" is not supported the following message will be displayed:

/path/to/bin/slicerExtensionWizard --publish ./Foo
Option '--publish' is not available.

Consider re-building Slicer with SSL support or downloading
Slicer from http://download.slicer.org

See #3935

Co-authored-by: Francois Budin francois.budin@kitware.com Suggested-by: Andriy Fedorov fedorov@bwh.harvard.edu

Merge request reports