Skip to content

Commit b4cd77c

Browse files
committed
Repair fish completions for --git-opt
...needed updated argument names.
1 parent a63ff17 commit b4cd77c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/completion/fish.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ fn get_arg_completion_params(arg: &clap::Arg) -> ShStream {
364364
"branch-any" => params.word("-xa '(__fish_stg_all_branches)'"),
365365
"committish" => params.word("-xa '(__fish_stg_commit)'"),
366366
"git-diff-opt" => params.word("-xa '(__fish_stg_git_diff_opts)'"),
367-
"git-format-patch-opts" => params.word("-xa '(__fish_stg_git_format_patch_opts)'"),
368-
"git-send-email-opts" => params.word("-xa '(__fish_stg_git_send_email_opts)'"),
367+
"git-format-patch-opt" => params.word("-xa '(__fish_stg_git_format_patch_opts)'"),
368+
"git-send-email-opt" => params.word("-xa '(__fish_stg_git_send_email_opts)'"),
369369
"patch" | "patchranges" => params.word("-kxa '(__fish_stg_patches -A -U)'"),
370370
"patchranges-all" | "set-tree" | "stgit-revision" => {
371371
params.word("-kxa '(__fish_stg_patches --all)'")

0 commit comments

Comments
 (0)