ansible-galaxy - correct collections-path command line arg (#73193)
It should be plural to match other options and environment variables.
This commit is contained in:
parent
0c4de6839b
commit
e2308ed6e3
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- ansible-galaxy - correct ``collections-path`` command line argument (https://github.com/ansible/ansible/issues/73127)
|
|
@ -165,7 +165,7 @@ class GalaxyCLI(CLI):
|
|||
'writable one configured via DEFAULT_ROLES_PATH: %s ' % default_roles_path)
|
||||
|
||||
collections_path = opt_help.argparse.ArgumentParser(add_help=False)
|
||||
collections_path.add_argument('-p', '--collection-path', dest='collections_path', type=opt_help.unfrack_path(pathsep=True),
|
||||
collections_path.add_argument('-p', '--collections-path', dest='collections_path', type=opt_help.unfrack_path(pathsep=True),
|
||||
default=AnsibleCollectionConfig.collection_paths,
|
||||
action=opt_help.PrependListAction,
|
||||
help="One or more directories to search for collections in addition "
|
||||
|
|
Loading…
Reference in a new issue