Skip to content

Commit

Permalink
fixed bug on --update-sim
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Aug 8, 2019
1 parent a8ced4d commit e9204d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_xref.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func attachVersionCommands(root *RootCommand) {
root.plainShortFlags["V"] = root.allFlags[SysMgmtGroup]["version"]
}
if _, ok := root.allFlags[SysMgmtGroup]["version-sim"]; !ok {
root.allFlags[SysMgmtGroup]["version"] = &Flag{
root.allFlags[SysMgmtGroup]["version-sim"] = &Flag{
BaseOpt: BaseOpt{
Full: "version-sim",
Aliases: []string{"version-simulate"},
Expand Down

0 comments on commit e9204d3

Please sign in to comment.