ansible/ansible — pull request #3346 by jlund (2013-06-26 09:02:33+00:00)
Title: Refactored Ansible command options

* Moved the --list-hosts option that is common to both `ansible` and
`ansible-playbook` into utils/__init__.py (corrects a FIXME)
* Wrote new help text for the --list-hosts option that makes sense
for both of the commands that it applies to
* Changed the usage argument in `ansible-playbook` so that it is
setup in the base_parser method the same way that it is in
the `ansible` executable
* Alphabetized all base_parser *_opts arguments in `ansible` and
`ansible-playbook` to make them easier to locate
* Alphabetized base_parser *_opts arguments and if statements in
utils/__init__.py
* Alphabetized all add_option statements (using --option-name) in
`ansible`, `ansible-doc`, `ansible-playbook`, `ansible-pull` and
utils/__init__.py (within each *_opts if statement group)
* Updated the help text for several options to correct typos,
clarify meaning, improve readability, or fix grammatical errors.
In the case of `ansible-pull`, I changed the help text so that it
adheres to the same standards as the other executables (e.g. the
initial word in each line is lowercase).