Need to prefix the dataset flag

I failed to add the prefix into the dataset flag.
I blame a bad merge I did between my last two PRs.
This commit is contained in:
Chris Masone
2015-07-28 13:11:50 -07:00
parent ddaaa04727
commit 7bc389317e

View File

@@ -35,7 +35,7 @@ func NewFlags() datasetFlags {
func NewFlagsWithPrefix(prefix string) datasetFlags {
return datasetFlags{
chunks.NewFlagsWithPrefix(prefix),
flag.String("ds", "", "dataset id to store data for"),
flag.String(prefix+"ds", "", "dataset id to store data for"),
}
}