Fix and refix help text for CLI (#55831)

fixes #23395 giving clearer information on installed role path
  re-fixes 'home display issue' for module-path
This commit is contained in:
Brian Coca 2019-04-30 11:16:26 -04:00 committed by Sam Doran
parent 11279a909d
commit 45d21b6474
3 changed files with 8 additions and 3 deletions

View file

@ -282,8 +282,9 @@ def add_meta_options(parser):
def add_module_options(parser):
"""Add options for commands that load modules"""
module_path = C.config.get_configuration_definition('DEFAULT_MODULE_PATH').get('default', '')
parser.add_argument('-M', '--module-path', dest='module_path', default=None,
help="prepend colon-separated path(s) to module library (default=%s)" % C.DEFAULT_MODULE_PATH,
help="prepend colon-separated path(s) to module library (default=%s)" % module_path,
type=unfrack_path(pathsep=True), action=PrependListAction)