fix: explicitly accept non-commands as root args

This commit is contained in:
nils måsén 2022-11-05 18:53:08 +01:00
parent 5134e159e2
commit 8c958ff15b

View file

@ -54,6 +54,7 @@ func NewRootCommand() *cobra.Command {
`, `,
Run: Run, Run: Run,
PreRun: PreRun, PreRun: PreRun,
Args: cobra.ArbitraryArgs,
} }
} }