Skip to content

Argument syntax #1714

Answered by piksel
lonix1 asked this question in Q&A
Aug 3, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Boolean flags should never have an argument when passed as arguments/command, it's only for when the options are set using environment variables.

So, never pass true as a command line argument, the presence of the flag is what enables the option.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lonix1
Comment options

Answer selected by lonix1
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