aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorHariharan <hello@cvhariharan.dev>2021-04-25 20:16:36 +0530
committerGitHub <noreply@github.com>2021-04-25 16:46:36 +0200
commitbc96f316ffa7dbf012e560c0b5304b716fb5daff (patch)
treef8f65259e085d1dd04bde34bc562952c50259ce6 /misc/bash_completion
parentb616fe9f35009287ee16b507a4d0417acd9d78a6 (diff)
downloadgit-bug-bc96f316ffa7dbf012e560c0b5304b716fb5daff.tar.gz
CLI - allow user create without prompt (#650)
* CLI - allow user create without prompt. Fixes #577 * Update commands/user_create.go email message Co-authored-by: Michael Muré <batolettre@gmail.com> * Update docs Co-authored-by: Michael Muré <batolettre@gmail.com>
Diffstat (limited to 'misc/bash_completion')
-rw-r--r--misc/bash_completion/git-bug18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 60872785..bdca026f 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -1257,6 +1257,24 @@ _git-bug_user_create()
flags_with_completion=()
flags_completion=()
+ flags+=("--avatar=")
+ two_word_flags+=("--avatar")
+ two_word_flags+=("-a")
+ local_nonpersistent_flags+=("--avatar")
+ local_nonpersistent_flags+=("--avatar=")
+ local_nonpersistent_flags+=("-a")
+ flags+=("--email=")
+ two_word_flags+=("--email")
+ two_word_flags+=("-e")
+ local_nonpersistent_flags+=("--email")
+ local_nonpersistent_flags+=("--email=")
+ local_nonpersistent_flags+=("-e")
+ flags+=("--name=")
+ two_word_flags+=("--name")
+ two_word_flags+=("-n")
+ local_nonpersistent_flags+=("--name")
+ local_nonpersistent_flags+=("--name=")
+ local_nonpersistent_flags+=("-n")
must_have_one_flag=()
must_have_one_noun=()