Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove newline after "Options" in help output #863

Closed
jaredpetersen opened this issue Sep 17, 2018 · 3 comments
Closed

Remove newline after "Options" in help output #863

jaredpetersen opened this issue Sep 17, 2018 · 3 comments

Comments

@jaredpetersen
Copy link
Contributor

jaredpetersen commented Sep 17, 2018

From @mojavelinux in PR #853:

Another thing I've noticed is that commander.js adds a blank line after the category (such as options and commands). Most commands I use don't include this extra line.

commander.js:

Options:

  -v, --version                  output the version number

other commands

Options:
  -v, --version                  output the version number
@mojavelinux
Copy link
Contributor

For reference, here are the commands where I observe the described behavior:

grep, sed, awk, docker, firefox, wget, vim, gulp, mvn, node, ruby, zsh

@mojavelinux
Copy link
Contributor

I'm actually having a hard time finding a command which uses a blank line that otherwise has fairly clean usage text. (There are a lot of commands which have completely disorganized usage text, so I'm ignoring those commands).

@mojavelinux
Copy link
Contributor

Thanks for fixing this @jaredpetersen and @vanesyan for merging. Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants