Skip to content

Commit

Permalink
Fix version option
Browse files Browse the repository at this point in the history
  • Loading branch information
babarot committed Jan 18, 2020
1 parent a3d3099 commit dc946ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ func (c CLI) Run(args []string) error {
switch {
case c.Option.Version:
fmt.Fprintf(os.Stdout, "%s (%s)\n", Version, Revision)
return nil
case c.Option.Restore:
return c.Restore()
default:
Expand Down

0 comments on commit dc946ed

Please sign in to comment.