Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Option Types for stringSlice and stringArray #717

Closed
wants to merge 1 commit into from

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