Skip to content

Conversation

@jonstelly
Copy link

Call out differences between stringSlice and stringArray. Clarification for #396

Call out differences between stringSlice and stringArray.  Clarification for docker#396
@tonistiigi tonistiigi requested a review from thaJeztah August 10, 2021 19:50
@tonistiigi
Copy link
Member

Looks like --allow and other flags also handle multiple instances fine.

@crazy-max
Copy link
Member

Like @tonistiigi said, StringSlice flags take comma-separated value as arguments and split them accordingly. For example --ss="v1,v2" --ss="v3" will result in []string{"v1", "v2", "v3"}.

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 this pull request may close these issues.

3 participants