Commit graph

1 commit

Author SHA1 Message Date
Rick Elrod
b0389c7f11
[cli] remove superfluous trailing space from help ()
Change:
- After we output the newline in help text, we also added a space. This
  caused either a space to show up before the shell prompt (in shells
  like bash), or " %" and a newline before the next prompt on shells
  like zsh that automatically force commands to end with a newline.
- This change removes the extra space, so that peace can be restored in
  the minds of many.
- This only showed up when running commands with no arguments or invalid
  arguments.

Test Plan:
- Ran `ansible`, `ansible -h`, `ansible-playbook`, `ansible-galaxy`, and
  `ansible-galaxy -h`.

Tickets:
- Introduced in 

Signed-off-by: Rick Elrod <rick@elrod.me>
2021-05-04 11:42:17 -04:00