pkg: move to more generic StringsFlag
Merge pull request #1608 from jonboulle/flags

pkg: move to more generic StringsFlag