mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 05:11:25 -07:00
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:
parent
11279a909d
commit
45d21b6474
3 changed files with 8 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue