Skip to content

Commit

Permalink
Make inventory --list help text wording consistent (ansible#83035)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehershey committed Apr 15, 2024
1 parent 57750e2 commit 82d91f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ansible/cli/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ def init_parser(self):

# list
self.parser.add_argument("--export", action="store_true", default=C.INVENTORY_EXPORT, dest='export',
help="When doing an --list, represent in a way that is optimized for export,"
help="When doing --list, represent in a way that is optimized for export,"
"not as an accurate representation of how Ansible has processed it")
self.parser.add_argument('--output', default=None, dest='output_file',
help="When doing --list, send the inventory to a file instead of to the screen")
# self.parser.add_argument("--ignore-vars-plugins", action="store_true", default=False, dest='ignore_vars_plugins',
# help="When doing an --list, skip vars data from vars plugins, by default, this would include group_vars/ and host_vars/")
# help="When doing --list, skip vars data from vars plugins, by default, this would include group_vars/ and host_vars/")

def post_process_args(self, options):
options = super(InventoryCLI, self).post_process_args(options)
Expand Down

0 comments on commit 82d91f0

Please sign in to comment.