chore(pkg): remove ambiguity in wrong cmd calls within influx pkg cmd

there was an issue where you could call, `influx pkg summarize`
and the influx cli would actually prescribe that to `influx pkg` cmd
and pass summarize as an arg. This removes that ambiguity
pull/16773/head
Johnny Steenbergen 2020-02-06 17:42:48 -08:00 committed by Johnny Steenbergen
parent bf0cc56d7f
commit af6fac9fdf
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ type genericCLIOpts struct {
func (o genericCLIOpts) newCmd(use string, runE func(*cobra.Command, []string) error) *cobra.Command {
cmd := &cobra.Command{
Args: cobra.NoArgs,
Use: use,
RunE: runE,
}