Skip to content

Commit

Permalink
fix(version): wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed May 16, 2024
1 parent 27387bc commit 1f8c268
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ type HtPassWDCmd struct {
Pass string `required:"" short:"p"`
}

type versionCmd struct {
Version string
}
type versionCmd struct{}

func (c *versionCmd) Run() error {
fmt.Println(Version)
fmt.Println(version)
return nil
}

Expand Down

0 comments on commit 1f8c268

Please sign in to comment.