Skip to content

Commit

Permalink
fixed shim positional args issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leucos committed Apr 25, 2022
1 parent 90c2b9b commit 3966050
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/root.go
Expand Up @@ -37,6 +37,7 @@ func RootCmd() *cobra.Command {
If your directory has a '.binenv.lock', proper versions will always be
selected.`,
SilenceUsage: true,
Args: cobra.ArbitraryArgs,
PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
err := initializeConfig(cmd.Root())

Expand Down

0 comments on commit 3966050

Please sign in to comment.