Skip to content

Commit

Permalink
git: add NoOptDefVal for force-with-lease
Browse files Browse the repository at this point in the history
  • Loading branch information
thatsmydoing committed Sep 17, 2022
1 parent ad97d14 commit 6336e83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions completers/git_completer/cmd/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ func init() {
pushCmd.Flags().BoolP("verbose", "v", false, "be more verbose")
rootCmd.AddCommand(pushCmd)

pushCmd.Flag("force-with-lease").NoOptDefVal = " "

carapace.Gen(pushCmd).FlagCompletion(carapace.ActionMap{
"signed": carapace.ActionValues("yes", "no", "if-asked"),
})
Expand Down

0 comments on commit 6336e83

Please sign in to comment.