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

string slice command line args not splitting properly #91

Closed
nullbio opened this issue Jan 13, 2017 · 0 comments
Closed

string slice command line args not splitting properly #91

nullbio opened this issue Jan 13, 2017 · 0 comments
Labels

Comments

@nullbio
Copy link
Member

nullbio commented Jan 13, 2017

String slice command line args passed in are not being split into multiple elements.

Blacklist, whitelist and tags are the relevant fields.

Inconsistent values obtained when passing in -b "one" -b "two" and -b "one" "two". One ignores the second param and the other joins with a comma.

viper/cobra/pflag versions are:

~/g/s/g/s/viper (master|✔) $ git log -1
commit 5ed0fc31f7f453625df314d8e66b9791e8d13003

~/g/s/g/s/cobra (master|✔) $ git log -1
commit 1dd5ff2e11b6dca62fdcb275eb804b94607d8b06

~/g/s/g/s/pflag (master|✔) $ git log -1
commit 25f8b5b07aece3207895bf19f7ab517eb3b22a40
@nullbio nullbio added the bug label Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant