BUG: ExtensionWizard: Provide informative msg if an option is not supported
requested to merge github/fork/jcfr/3935-extension-wizard-display-informative-msg-if-opt-not-supported into master
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