Skip to content

Commit

Permalink
Merge pull request #1302 from rsteube/git-alias-help
Browse files Browse the repository at this point in the history
git-alias: added help flag
  • Loading branch information
rsteube authored Sep 22, 2022
2 parents a9a0894 + 74bff0c commit 70be8d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions completers/git-alias_completer/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ func Execute() error {
func init() {
carapace.Gen(rootCmd).Standalone()

rootCmd.Flags().Bool("help", false, "show help")

carapace.Gen(rootCmd).PositionalCompletion(
git.ActionAliases(""),
)
Expand Down

0 comments on commit 70be8d4

Please sign in to comment.