Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Jul 1, 2021
1 parent 1ff478c commit 67fbe62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,11 @@ func genCompletion() int {

switch options.GetS(OPT_COMPLETION) {
case "bash":
fmt.Printf(bash.Generate(info, "scratch"))
fmt.Printf(bash.Generate(info, APP))
case "fish":
fmt.Printf(fish.Generate(info, "scratch"))
fmt.Printf(fish.Generate(info, APP))
case "zsh":
fmt.Printf(zsh.Generate(info, optMap, "scratch"))
fmt.Printf(zsh.Generate(info, optMap, APP))
default:
return 1
}
Expand Down Expand Up @@ -325,7 +325,7 @@ func genAbout() *usage.About {
Year: 2006,
Owner: "ESSENTIAL KAOS",
License: "Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>",
UpdateChecker: usage.UpdateChecker{"essentialkaos/scratch", update.GitHubChecker},
UpdateChecker: usage.UpdateChecker{"essentialkaos/" + APP, update.GitHubChecker},
}
}

Expand Down

0 comments on commit 67fbe62

Please sign in to comment.