diff options
Diffstat (limited to 'commands/version.go')
-rw-r--r-- | commands/version.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/version.go b/commands/version.go index 0e54bb92..957cc653 100644 --- a/commands/version.go +++ b/commands/version.go @@ -14,8 +14,7 @@ type versionOptions struct { all bool } -func newVersionCommand() *cobra.Command { - env := execenv.NewEnv() +func newVersionCommand(env *execenv.Env) *cobra.Command { options := versionOptions{} cmd := &cobra.Command{ |