Skip to content

Difference between param and option #36

Closed Answered by ko1nksm
shinokada asked this question in Q&A
Discussion options

You must be logged in to vote

The init is the value when no options are specified. That is, the value when none of -?, +?, --*, --no-* are specified. The "default value" is the default value when the option is specified (but without a value).

The term "default value" is ambiguous, so we use init (initial value when no option is specified) and on (the value when a command line option without a value is specified) instead.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by shinokada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #35 on October 15, 2021 00:55.