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

Misalignment in gem install on Command Reference #223

Closed
tnir opened this issue Jan 1, 2019 · 1 comment · Fixed by #226
Closed

Misalignment in gem install on Command Reference #223

tnir opened this issue Jan 1, 2019 · 1 comment · Fixed by #226

Comments

@tnir
Copy link
Contributor

tnir commented Jan 1, 2019

https://guides.rubygems.org/command-reference/#gem-install

We are seeing as follows:

  • -​-minimal-deps - Don’t upgrade any dependencies that already meet version requirements
  •  
    • -​-[no-]post-install-message Print post install message
  • -g, -​-file [FILE] - Read from a gem dependencies API file and install the listed gems

because there are two spaces between option string and description for --[no-]post-install-message:

$ docker run --rm ruby:2.6 gem install --help | head -50 | tail -5
        --minimal-deps               Don't upgrade any dependencies that already
                                     meet version requirements
        --[no-]post-install-message  Print post install message
    -g, --file [FILE]                Read from a gem dependencies API file and
                                     install the listed gems
@tnir
Copy link
Contributor Author

tnir commented Jan 1, 2019

There are 2 other misalignments as follow:

  1. https://guides.rubygems.org/command-reference/#gem-dependency
  •  
    • -R, -​-[no-]reverse-dependencies Include reverse dependencies in the output
  1. https://guides.rubygems.org/command-reference/#gem-update
  •  
    • -​-[no-]post-install-message Print post install message

ghost pushed a commit that referenced this issue Jan 1, 2019
226: Fix misalignment in gem install on Command Reference r=segiddins a=tnir

Fix misalignment in gem install on Command Reference by fixing `helpline` parser.

Closes #223 

Co-authored-by: Takuya Noguchi <takninnovationresearch@gmail.com>
@ghost ghost closed this as completed in #226 Jan 1, 2019
This issue was closed.
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

Successfully merging a pull request may close this issue.

1 participant