Skip to content

Commit

Permalink
refactor: remove not needed var declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Nov 19, 2017
1 parent 2622204 commit a835e4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions prm.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,10 @@ func main() {

// version

versionOptions := &types.NoOption{}

versionCmd := &flaeg.Command{
Name: "version",
Description: "Display the version.",
Config: versionOptions,
Config: &types.NoOption{},
DefaultPointersConfig: &types.NoOption{},
Run: func() error {
meta.DisplayVersion()
Expand Down

0 comments on commit a835e4e

Please sign in to comment.