Skip to content

Commit

Permalink
changed some informative text and added flag alias
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanisham committed Sep 27, 2024
1 parent 69d42ef commit 7fd4a74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (z *ZVM) Install(version string, force bool) error {
}
}
if alreadyInstalled {
fmt.Printf("Zig version %s is already installed\n", installedVersion)
fmt.Printf("Zig version %s is already installed\nRerun with the `--force` flag to install anyway\n", installedVersion)
return nil
}
}
Expand Down
2 changes: 1 addition & 1 deletion cli/meta/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

const (
VERSION = "v0.7.5"
VERSION = "v0.7.6"
// VERSION = "v0.0.0" // For testing zvm upgrade

)
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ var zvmApp = &opts.App{
},
&opts.BoolFlag{
Name: "force",
Aliases: []string{"f"},
Usage: "force installation even if the version is already installed",
},
},
Expand Down

0 comments on commit 7fd4a74

Please # to comment.