Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

BurdetteLamar
Copy link
Member

  • Adds argument abbreviation in option_params.rdoc.
  • Adds entire Argument Values section to tutorial.rdoc.

@BurdetteLamar BurdetteLamar added the documentation Improvements or additions to documentation label Apr 14, 2021
===== Explicit Values in Array

You can specify explicit argument values in an array of strings.
The argument value must be one of those strings, or an unambiguous abbreviation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I just learned something. I was missing a word like explicitly permitted or the like.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was how I came to misread it: I'd missed that the setting was an "allowed values" list.

Copy link
Contributor

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks ace. Thanks for the stream of improvement.

@BurdetteLamar BurdetteLamar merged commit 9c5b3f2 into ruby:master Apr 15, 2021
matzbot pushed a commit to ruby/ruby that referenced this pull request Jul 28, 2021
    Adds argument abbreviation in option_params.rdoc.
    Adds entire Argument Values section to tutorial.rdoc.

ruby/optparse@9c5b3f244b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants