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 ambiguitypull/16773/head
parent
bf0cc56d7f
commit
af6fac9fdf
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue