Skip to content

string slice command line args not splitting properly #91

Closed
@nullbio

Description

@nullbio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions