Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix incorrect docs in Issue&PR create #994
Conversation
|
@AliabbasMerchant Thank you! @ampinsk what do you think about this approach? What would be your preferred way to indicate that some flags can be repeated or accept multiple comma-delimited values? |
|
@mislav Is there a reason different flags work differently for multiple arguments? That would help me understand how to explain it in docs! |
|
@ampinsk Regular flags don't take multiple values, so if one tried to repeat it, only the last value would be respected: However, certain flags we explicitly designate as accepting multiple values, and for them the invocations The problem right now is that in our documentation there is no visual distinction between these types of flags; i.e. the user is left to guess that flags like |
|
@probablycorey, I know you've been thinking about our docs and syntax we use, so I'm curious if you have any thoughts here, or if you've seen anything around this in looking at other tools' docs? |


AliabbasMerchant commentedMay 26, 2020
Fixes #967