diff --git a/lib/ansible/cli/galaxy.py b/lib/ansible/cli/galaxy.py index 19ccd400445..17c923209d4 100755 --- a/lib/ansible/cli/galaxy.py +++ b/lib/ansible/cli/galaxy.py @@ -482,7 +482,7 @@ class GalaxyCLI(CLI): ) prog = 'ansible-galaxy install' else: - prog = parser._prog_prefix + prog = f"ansible-galaxy {galaxy_type} install" description_text = ( 'Install {0}(s) from file(s), URL(s) or Ansible ' 'Galaxy to the first entry in the config {1}S_PATH '