aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/man/git-bug-add.113
-rw-r--r--doc/man/git-bug-bridge-auth-add-token.115
-rw-r--r--doc/man/git-bug-bridge-auth-rm.19
-rw-r--r--doc/man/git-bug-bridge-auth-show.17
-rw-r--r--doc/man/git-bug-bridge-auth.17
-rw-r--r--doc/man/git-bug-bridge-configure.127
-rw-r--r--doc/man/git-bug-bridge-pull.113
-rw-r--r--doc/man/git-bug-bridge-push.19
-rw-r--r--doc/man/git-bug-bridge-rm.19
-rw-r--r--doc/man/git-bug-bridge.17
-rw-r--r--doc/man/git-bug-commands.111
-rw-r--r--doc/man/git-bug-comment-add.113
-rw-r--r--doc/man/git-bug-comment.19
-rw-r--r--doc/man/git-bug-deselect.17
-rw-r--r--doc/man/git-bug-label-add.19
-rw-r--r--doc/man/git-bug-label-rm.19
-rw-r--r--doc/man/git-bug-label.19
-rw-r--r--doc/man/git-bug-ls-id.19
-rw-r--r--doc/man/git-bug-ls-label.17
-rw-r--r--doc/man/git-bug-ls.127
-rw-r--r--doc/man/git-bug-pull.19
-rw-r--r--doc/man/git-bug-push.19
-rw-r--r--doc/man/git-bug-select.111
-rw-r--r--doc/man/git-bug-show.111
-rw-r--r--doc/man/git-bug-status-close.19
-rw-r--r--doc/man/git-bug-status-open.19
-rw-r--r--doc/man/git-bug-status.19
-rw-r--r--doc/man/git-bug-termui.17
-rw-r--r--doc/man/git-bug-title-edit.111
-rw-r--r--doc/man/git-bug-title.19
-rw-r--r--doc/man/git-bug-user-adopt.19
-rw-r--r--doc/man/git-bug-user-create.17
-rw-r--r--doc/man/git-bug-user-ls.17
-rw-r--r--doc/man/git-bug-user.111
-rw-r--r--doc/man/git-bug-version.113
-rw-r--r--doc/man/git-bug-webui.113
-rw-r--r--doc/man/git-bug.17
-rw-r--r--go.sum4
-rw-r--r--misc/bash_completion/git-bug15
39 files changed, 190 insertions, 216 deletions
diff --git a/doc/man/git-bug-add.1 b/doc/man/git-bug-add.1
index 2d47f0ac..9b0e6ec7 100644
--- a/doc/man/git-bug-add.1
+++ b/doc/man/git-bug-add.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -21,19 +20,19 @@ Create a new bug.
.SH OPTIONS
.PP
\fB\-t\fP, \fB\-\-title\fP=""
- Provide a title to describe the issue
+ Provide a title to describe the issue
.PP
\fB\-m\fP, \fB\-\-message\fP=""
- Provide a message to describe the issue
+ Provide a message to describe the issue
.PP
\fB\-F\fP, \fB\-\-file\fP=""
- Take the message from the given file. Use \- to read the message from the standard input
+ Take the message from the given file. Use \- to read the message from the standard input
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for add
+ help for add
.SH SEE ALSO
diff --git a/doc/man/git-bug-bridge-auth-add-token.1 b/doc/man/git-bug-bridge-auth-add-token.1
index 717610e1..fe4750b4 100644
--- a/doc/man/git-bug-bridge-auth-add-token.1
+++ b/doc/man/git-bug-bridge-auth-add-token.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-bridge\-auth\-add\-token \- Store a new token
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge auth add\-token [<token>] [flags]\fP
+\fBgit\-bug bridge auth add\-token [] [flags]\fP
.SH DESCRIPTION
@@ -21,19 +20,19 @@ Store a new token
.SH OPTIONS
.PP
\fB\-t\fP, \fB\-\-target\fP=""
- The target of the bridge. Valid values are [github,gitlab,jira,launchpad\-preview]
+ The target of the bridge. Valid values are [github,gitlab,jira,launchpad\-preview]
.PP
\fB\-l\fP, \fB\-\-login\fP=""
- The login in the remote bug\-tracker
+ The login in the remote bug\-tracker
.PP
\fB\-u\fP, \fB\-\-user\fP=""
- The user to add the token to. Default is the current user
+ The user to add the token to. Default is the current user
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for add\-token
+ help for add\-token
.SH SEE ALSO
diff --git a/doc/man/git-bug-bridge-auth-rm.1 b/doc/man/git-bug-bridge-auth-rm.1
index b0222b72..9ddac3f2 100644
--- a/doc/man/git-bug-bridge-auth-rm.1
+++ b/doc/man/git-bug-bridge-auth-rm.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-bridge\-auth\-rm \- Remove a credential.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge auth rm <id> [flags]\fP
+\fBgit\-bug bridge auth rm [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Remove a credential.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for rm
+ help for rm
.SH SEE ALSO
diff --git a/doc/man/git-bug-bridge-auth-show.1 b/doc/man/git-bug-bridge-auth-show.1
index 6e0d345c..ae5d2039 100644
--- a/doc/man/git-bug-bridge-auth-show.1
+++ b/doc/man/git-bug-bridge-auth-show.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -21,7 +20,7 @@ Display an authentication credential.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for show
+ help for show
.SH SEE ALSO
diff --git a/doc/man/git-bug-bridge-auth.1 b/doc/man/git-bug-bridge-auth.1
index 0e400c41..02f2ca0f 100644
--- a/doc/man/git-bug-bridge-auth.1
+++ b/doc/man/git-bug-bridge-auth.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -21,7 +20,7 @@ List all known bridge authentication credentials.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for auth
+ help for auth
.SH SEE ALSO
diff --git a/doc/man/git-bug-bridge-configure.1 b/doc/man/git-bug-bridge-configure.1
index 46594057..cc66487f 100644
--- a/doc/man/git-bug-bridge-configure.1
+++ b/doc/man/git-bug-bridge-configure.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -27,47 +26,47 @@ Configure a new bridge by passing flags or/and using interactive terminal prompt
.SH OPTIONS
.PP
\fB\-n\fP, \fB\-\-name\fP=""
- A distinctive name to identify the bridge
+ A distinctive name to identify the bridge
.PP
\fB\-t\fP, \fB\-\-target\fP=""
- The target of the bridge. Valid values are [github,gitlab,jira,launchpad\-preview]
+ The target of the bridge. Valid values are [github,gitlab,jira,launchpad\-preview]
.PP
\fB\-u\fP, \fB\-\-url\fP=""
- The URL of the remote repository
+ The URL of the remote repository
.PP
\fB\-b\fP, \fB\-\-base\-url\fP=""
- The base URL of your remote issue tracker
+ The base URL of your remote issue tracker
.PP
\fB\-l\fP, \fB\-\-login\fP=""
- The login on your remote issue tracker
+ The login on your remote issue tracker
.PP
\fB\-c\fP, \fB\-\-credential\fP=""
- The identifier or prefix of an already known credential for your remote issue tracker (see "git\-bug bridge auth")
+ The identifier or prefix of an already known credential for your remote issue tracker (see "git\-bug bridge auth")
.PP
\fB\-\-token\fP=""
- A raw authentication token for the remote issue tracker
+ A raw authentication token for the remote issue tracker
.PP
\fB\-\-token\-stdin\fP[=false]
- Will read the token from stdin and ignore \-\-token
+ Will read the token from stdin and ignore \-\-token
.PP
\fB\-o\fP, \fB\-\-owner\fP=""
- The owner of the remote repository
+ The owner of the remote repository
.PP
\fB\-p\fP, \fB\-\-project\fP=""
- The name of the remote repository
+ The name of the remote repository
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for configure
+ help for configure
.SH EXAMPLE
diff --git a/doc/man/git-bug-bridge-pull.1 b/doc/man/git-bug-bridge-pull.1
index c6614627..055d2472 100644
--- a/doc/man/git-bug-bridge-pull.1
+++ b/doc/man/git-bug-bridge-pull.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-bridge\-pull \- Pull updates.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge pull [<name>] [flags]\fP
+\fBgit\-bug bridge pull [] [flags]\fP
.SH DESCRIPTION
@@ -21,15 +20,15 @@ Pull updates.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for pull
+ help for pull
.PP
\fB\-n\fP, \fB\-\-no\-resume\fP[=false]
- force importing all bugs
+ force importing all bugs
.PP
\fB\-s\fP, \fB\-\-since\fP=""
- import only bugs updated after the given date (ex: "200h" or "june 2 2019")
+ import only bugs updated after the given date (ex: "200h" or "june 2 2019")
.SH SEE ALSO
diff --git a/doc/man/git-bug-bridge-push.1 b/doc/man/git-bug-bridge-push.1
index 1257781b..59e60bdf 100644
--- a/doc/man/git-bug-bridge-push.1
+++ b/doc/man/git-bug-bridge-push.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-bridge\-push \- Push updates.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge push [<name>] [flags]\fP
+\fBgit\-bug bridge push [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Push updates.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for push
+ help for push
.SH SEE ALSO
diff --git a/doc/man/git-bug-bridge-rm.1 b/doc/man/git-bug-bridge-rm.1
index 324d4237..8cfa925a 100644
--- a/doc/man/git-bug-bridge-rm.1
+++ b/doc/man/git-bug-bridge-rm.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-bridge\-rm \- Delete a configured bridge.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge rm <name> [flags]\fP
+\fBgit\-bug bridge rm [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Delete a configured bridge.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for rm
+ help for rm
.SH SEE ALSO
diff --git a/doc/man/git-bug-bridge.1 b/doc/man/git-bug-bridge.1
index 8e885f10..8d5c7dc0 100644
--- a/doc/man/git-bug-bridge.1
+++ b/doc/man/git-bug-bridge.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -21,7 +20,7 @@ Configure and use bridges to other bug trackers.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for bridge
+ help for bridge
.SH SEE ALSO
diff --git a/doc/man/git-bug-commands.1 b/doc/man/git-bug-commands.1
index dec359f5..b7c1e214 100644
--- a/doc/man/git-bug-commands.1
+++ b/doc/man/git-bug-commands.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-commands \- Display available commands.
.SH SYNOPSIS
.PP
-\fBgit\-bug commands [<option>\&...] [flags]\fP
+\fBgit\-bug commands [\&...] [flags]\fP
.SH DESCRIPTION
@@ -21,11 +20,11 @@ Display available commands.
.SH OPTIONS
.PP
\fB\-p\fP, \fB\-\-pretty\fP[=false]
- Output the command description as well as Markdown compatible comment
+ Output the command description as well as Markdown compatible comment
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for commands
+ help for commands
.SH SEE ALSO
diff --git a/doc/man/git-bug-comment-add.1 b/doc/man/git-bug-comment-add.1
index c25177a2..530101b8 100644
--- a/doc/man/git-bug-comment-add.1
+++ b/doc/man/git-bug-comment-add.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-comment\-add \- Add a new comment to a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug comment add [<id>] [flags]\fP
+\fBgit\-bug comment add [] [flags]\fP
.SH DESCRIPTION
@@ -21,15 +20,15 @@ Add a new comment to a bug.
.SH OPTIONS
.PP
\fB\-F\fP, \fB\-\-file\fP=""
- Take the message from the given file. Use \- to read the message from the standard input
+ Take the message from the given file. Use \- to read the message from the standard input
.PP
\fB\-m\fP, \fB\-\-message\fP=""
- Provide the new message from the command line
+ Provide the new message from the command line
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for add
+ help for add
.SH SEE ALSO
diff --git a/doc/man/git-bug-comment.1 b/doc/man/git-bug-comment.1
index d70d7078..9beb7a06 100644
--- a/doc/man/git-bug-comment.1
+++ b/doc/man/git-bug-comment.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-comment \- Display or add comments to a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug comment [<id>] [flags]\fP
+\fBgit\-bug comment [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Display or add comments to a bug.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for comment
+ help for comment
.SH SEE ALSO
diff --git a/doc/man/git-bug-deselect.1 b/doc/man/git-bug-deselect.1
index 61536493..7cdf5112 100644
--- a/doc/man/git-bug-deselect.1
+++ b/doc/man/git-bug-deselect.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -21,7 +20,7 @@ Clear the implicitly selected bug.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for deselect
+ help for deselect
.SH EXAMPLE
diff --git a/doc/man/git-bug-label-add.1 b/doc/man/git-bug-label-add.1
index 893edbcc..86a4bb24 100644
--- a/doc/man/git-bug-label-add.1
+++ b/doc/man/git-bug-label-add.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-label\-add \- Add a label to a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug label add [<id>] <label>[...] [flags]\fP
+\fBgit\-bug label add [] [...] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Add a label to a bug.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for add
+ help for add
.SH SEE ALSO
diff --git a/doc/man/git-bug-label-rm.1 b/doc/man/git-bug-label-rm.1
index 3cc76b82..e7e912ea 100644
--- a/doc/man/git-bug-label-rm.1
+++ b/doc/man/git-bug-label-rm.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-label\-rm \- Remove a label from a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug label rm [<id>] <label>[...] [flags]\fP
+\fBgit\-bug label rm [] [...] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Remove a label from a bug.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for rm
+ help for rm
.SH SEE ALSO
diff --git a/doc/man/git-bug-label.1 b/doc/man/git-bug-label.1
index 14014227..23fc0047 100644
--- a/doc/man/git-bug-label.1
+++ b/doc/man/git-bug-label.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-label \- Display, add or remove labels to/from a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug label [<id>] [flags]\fP
+\fBgit\-bug label [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Display, add or remove labels to/from a bug.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for label
+ help for label
.SH SEE ALSO
diff --git a/doc/man/git-bug-ls-id.1 b/doc/man/git-bug-ls-id.1
index 5962f1b9..c7b40114 100644
--- a/doc/man/git-bug-ls-id.1
+++ b/doc/man/git-bug-ls-id.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-ls\-id \- List bug identifiers.
.SH SYNOPSIS
.PP
-\fBgit\-bug ls\-id [<prefix>] [flags]\fP
+\fBgit\-bug ls\-id [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ List bug identifiers.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for ls\-id
+ help for ls\-id
.SH SEE ALSO
diff --git a/doc/man/git-bug-ls-label.1 b/doc/man/git-bug-ls-label.1
index c5b7a807..30e63f94 100644
--- a/doc/man/git-bug-ls-label.1
+++ b/doc/man/git-bug-ls-label.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -24,7 +23,7 @@ Note: in the future, a proper label policy could be implemented where valid labe
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for ls\-label
+ help for ls\-label
.SH SEE ALSO
diff --git a/doc/man/git-bug-ls.1 b/doc/man/git-bug-ls.1
index aae57c1d..2fc1d337 100644
--- a/doc/man/git-bug-ls.1
+++ b/doc/man/git-bug-ls.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-ls \- List bugs.
.SH SYNOPSIS
.PP
-\fBgit\-bug ls [<query>] [flags]\fP
+\fBgit\-bug ls [] [flags]\fP
.SH DESCRIPTION
@@ -24,43 +23,43 @@ You can pass an additional query to filter and order the list. This query can be
.SH OPTIONS
.PP
\fB\-s\fP, \fB\-\-status\fP=[]
- Filter by status. Valid values are [open,closed]
+ Filter by status. Valid values are [open,closed]
.PP
\fB\-a\fP, \fB\-\-author\fP=[]
- Filter by author
+ Filter by author
.PP
\fB\-p\fP, \fB\-\-participant\fP=[]
- Filter by participant
+ Filter by participant
.PP
\fB\-A\fP, \fB\-\-actor\fP=[]
- Filter by actor
+ Filter by actor
.PP
\fB\-l\fP, \fB\-\-label\fP=[]
- Filter by label
+ Filter by label
.PP
\fB\-t\fP, \fB\-\-title\fP=[]
- Filter by title
+ Filter by title
.PP
\fB\-n\fP, \fB\-\-no\fP=[]
- Filter by absence of something. Valid values are [label]
+ Filter by absence of something. Valid values are [label]
.PP
\fB\-b\fP, \fB\-\-by\fP="creation"
- Sort the results by a characteristic. Valid values are [id,creation,edit]
+ Sort the results by a characteristic. Valid values are [id,creation,edit]
.PP
\fB\-d\fP, \fB\-\-direction\fP="asc"
- Select the sorting direction. Valid values are [asc,desc]
+ Select the sorting direction. Valid values are [asc,desc]
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for ls
+ help for ls
.SH EXAMPLE
diff --git a/doc/man/git-bug-pull.1 b/doc/man/git-bug-pull.1
index 5690c80a..82b741ed 100644
--- a/doc/man/git-bug-pull.1
+++ b/doc/man/git-bug-pull.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-pull \- Pull bugs update from a git remote.
.SH SYNOPSIS
.PP
-\fBgit\-bug pull [<remote>] [flags]\fP
+\fBgit\-bug pull [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Pull bugs update from a git remote.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for pull
+ help for pull
.SH SEE ALSO
diff --git a/doc/man/git-bug-push.1 b/doc/man/git-bug-push.1
index defa06c9..dc694258 100644
--- a/doc/man/git-bug-push.1
+++ b/doc/man/git-bug-push.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-push \- Push bugs update to a git remote.
.SH SYNOPSIS
.PP
-\fBgit\-bug push [<remote>] [flags]\fP
+\fBgit\-bug push [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Push bugs update to a git remote.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for push
+ help for push
.SH SEE ALSO
diff --git a/doc/man/git-bug-select.1 b/doc/man/git-bug-select.1
index 36728037..4df61221 100644
--- a/doc/man/git-bug-select.1
+++ b/doc/man/git-bug-select.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-select \- Select a bug for implicit use in future commands.
.SH SYNOPSIS
.PP
-\fBgit\-bug select <id> [flags]\fP
+\fBgit\-bug select [flags]\fP
.SH DESCRIPTION
@@ -18,7 +17,7 @@ git\-bug\-select \- Select a bug for implicit use in future commands.
Select a bug for implicit use in future commands.
.PP
-This command allows you to omit any bug <id> argument, for example:
+This command allows you to omit any bug argument, for example:
git bug show
instead of
git bug show 2f153ca
@@ -30,7 +29,7 @@ The complementary command is "git bug deselect" performing the opposite operatio
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for select
+ help for select
.SH EXAMPLE
diff --git a/doc/man/git-bug-show.1 b/doc/man/git-bug-show.1
index 9ad9c019..dae1877b 100644
--- a/doc/man/git-bug-show.1
+++ b/doc/man/git-bug-show.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-show \- Display the details of a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug show [<id>] [flags]\fP
+\fBgit\-bug show [] [flags]\fP
.SH DESCRIPTION
@@ -21,11 +20,11 @@ Display the details of a bug.
.SH OPTIONS
.PP
\fB\-f\fP, \fB\-\-field\fP=""
- Select field to display. Valid values are [author,authorEmail,createTime,humanId,id,labels,shortId,status,title,actors,participants]
+ Select field to display. Valid values are [author,authorEmail,createTime,humanId,id,labels,shortId,status,title,actors,participants]
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for show
+ help for show
.SH SEE ALSO
diff --git a/doc/man/git-bug-status-close.1 b/doc/man/git-bug-status-close.1
index 71824337..539c5447 100644
--- a/doc/man/git-bug-status-close.1
+++ b/doc/man/git-bug-status-close.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-status\-close \- Mark a bug as closed.
.SH SYNOPSIS
.PP
-\fBgit\-bug status close [<id>] [flags]\fP
+\fBgit\-bug status close [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Mark a bug as closed.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for close
+ help for close
.SH SEE ALSO
diff --git a/doc/man/git-bug-status-open.1 b/doc/man/git-bug-status-open.1
index 06c41368..d7aca0d0 100644
--- a/doc/man/git-bug-status-open.1
+++ b/doc/man/git-bug-status-open.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-status\-open \- Mark a bug as open.
.SH SYNOPSIS
.PP
-\fBgit\-bug status open [<id>] [flags]\fP
+\fBgit\-bug status open [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Mark a bug as open.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for open
+ help for open
.SH SEE ALSO
diff --git a/doc/man/git-bug-status.1 b/doc/man/git-bug-status.1
index 36901a51..df013911 100644
--- a/doc/man/git-bug-status.1
+++ b/doc/man/git-bug-status.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-status \- Display or change a bug status.
.SH SYNOPSIS
.PP
-\fBgit\-bug status [<id>] [flags]\fP
+\fBgit\-bug status [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Display or change a bug status.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for status
+ help for status
.SH SEE ALSO
diff --git a/doc/man/git-bug-termui.1 b/doc/man/git-bug-termui.1
index 01de82fa..f8ccc42a 100644
--- a/doc/man/git-bug-termui.1
+++ b/doc/man/git-bug-termui.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -21,7 +20,7 @@ Launch the terminal UI.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for termui
+ help for termui
.SH SEE ALSO
diff --git a/doc/man/git-bug-title-edit.1 b/doc/man/git-bug-title-edit.1
index 4382a20e..c1903854 100644
--- a/doc/man/git-bug-title-edit.1
+++ b/doc/man/git-bug-title-edit.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-title\-edit \- Edit a title of a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug title edit [<id>] [flags]\fP
+\fBgit\-bug title edit [] [flags]\fP
.SH DESCRIPTION
@@ -21,11 +20,11 @@ Edit a title of a bug.
.SH OPTIONS
.PP
\fB\-t\fP, \fB\-\-title\fP=""
- Provide a title to describe the issue
+ Provide a title to describe the issue
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for edit
+ help for edit
.SH SEE ALSO
diff --git a/doc/man/git-bug-title.1 b/doc/man/git-bug-title.1
index f58cc3c1..e3345acd 100644
--- a/doc/man/git-bug-title.1
+++ b/doc/man/git-bug-title.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-title \- Display or change a title of a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug title [<id>] [flags]\fP
+\fBgit\-bug title [] [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Display or change a title of a bug.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for title
+ help for title
.SH SEE ALSO
diff --git a/doc/man/git-bug-user-adopt.1 b/doc/man/git-bug-user-adopt.1
index b3bc07c0..2be2afcb 100644
--- a/doc/man/git-bug-user-adopt.1
+++ b/doc/man/git-bug-user-adopt.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-user\-adopt \- Adopt an existing identity as your own.
.SH SYNOPSIS
.PP
-\fBgit\-bug user adopt <user-id> [flags]\fP
+\fBgit\-bug user adopt [flags]\fP
.SH DESCRIPTION
@@ -21,7 +20,7 @@ Adopt an existing identity as your own.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for adopt
+ help for adopt
.SH SEE ALSO
diff --git a/doc/man/git-bug-user-create.1 b/doc/man/git-bug-user-create.1
index f31b7369..099a44bd 100644
--- a/doc/man/git-bug-user-create.1
+++ b/doc/man/git-bug-user-create.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -21,7 +20,7 @@ Create a new identity.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for create
+ help for create
.SH SEE ALSO
diff --git a/doc/man/git-bug-user-ls.1 b/doc/man/git-bug-user-ls.1
index 30de5fb6..1ccddb8a 100644
--- a/doc/man/git-bug-user-ls.1
+++ b/doc/man/git-bug-user-ls.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -21,7 +20,7 @@ List identities.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for ls
+ help for ls
.SH SEE ALSO
diff --git a/doc/man/git-bug-user.1 b/doc/man/git-bug-user.1
index dc04cee8..5a4cf439 100644
--- a/doc/man/git-bug-user.1
+++ b/doc/man/git-bug-user.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -10,7 +9,7 @@ git\-bug\-user \- Display or change the user identity.
.SH SYNOPSIS
.PP
-\fBgit\-bug user [<user-id>] [flags]\fP
+\fBgit\-bug user [] [flags]\fP
.SH DESCRIPTION
@@ -21,11 +20,11 @@ Display or change the user identity.
.SH OPTIONS
.PP
\fB\-f\fP, \fB\-\-field\fP=""
- Select field to display. Valid values are [email,humanId,id,lastModification,lastModificationLamport,login,metadata,name]
+ Select field to display. Valid values are [email,humanId,id,lastModification,lastModificationLamport,login,metadata,name]
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for user
+ help for user
.SH SEE ALSO
diff --git a/doc/man/git-bug-version.1 b/doc/man/git-bug-version.1
index 8660417f..963e260e 100644
--- a/doc/man/git-bug-version.1
+++ b/doc/man/git-bug-version.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -21,19 +20,19 @@ Show git\-bug version information.
.SH OPTIONS
.PP
\fB\-n\fP, \fB\-\-number\fP[=false]
- Only show the version number
+ Only show the version number
.PP
\fB\-c\fP, \fB\-\-commit\fP[=false]
- Only show the commit hash
+ Only show the commit hash
.PP
\fB\-a\fP, \fB\-\-all\fP[=false]
- Show all version informations
+ Show all version informations
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for version
+ help for version
.SH SEE ALSO
diff --git a/doc/man/git-bug-webui.1 b/doc/man/git-bug-webui.1
index 9bcb65fd..62d2e5dc 100644
--- a/doc/man/git-bug-webui.1
+++ b/doc/man/git-bug-webui.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -25,19 +24,19 @@ Available git config:
.SH OPTIONS
.PP
\fB\-\-open\fP[=false]
- Automatically open the web UI in the default browser
+ Automatically open the web UI in the default browser
.PP
\fB\-\-no\-open\fP[=false]
- Prevent the automatic opening of the web UI in the default browser
+ Prevent the automatic opening of the web UI in the default browser
.PP
\fB\-p\fP, \fB\-\-port\fP=0
- Port to listen to (default is random)
+ Port to listen to (default is random)
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for webui
+ help for webui
.SH SEE ALSO
diff --git a/doc/man/git-bug.1 b/doc/man/git-bug.1
index 4008ac0d..6dba279e 100644
--- a/doc/man/git-bug.1
+++ b/doc/man/git-bug.1
@@ -1,7 +1,6 @@
-.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.nh
-.ad l
-
+.TH GIT\-BUG(1)Apr 2019
+Generated from git\-bug's source code
.SH NAME
.PP
@@ -26,7 +25,7 @@ the same git remote your are already using to collaborate with other peoples.
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
- help for git\-bug
+ help for git\-bug
.SH SEE ALSO
diff --git a/go.sum b/go.sum
index abfa0ae2..6ebc3f97 100644
--- a/go.sum
+++ b/go.sum
@@ -42,6 +42,7 @@ github.com/corpix/uarand v0.1.1 h1:RMr1TWc9F4n5jiPDzFHtmaUXLKLNUFK0SgCLo4BhX/U=
github.com/corpix/uarand v0.1.1/go.mod h1:SFKZvkcRoLqVRFZ4u25xPmp6m9ktANfbpXZ7SJ0/FNU=
github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk=
github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE=
+github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM=
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -82,6 +83,7 @@ github.com/gorilla/mux v1.7.4 h1:VuZ8uybHlWmqV03+zRzdwKL4tUnIp1MAQtp1mIFE1bc=
github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
github.com/gorilla/websocket v1.2.0 h1:VJtLvh6VQym50czpZzx07z/kw9EgAxI3x1ZB8taTMQQ=
github.com/gorilla/websocket v1.2.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
+github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q=
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
@@ -152,6 +154,7 @@ github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6So
github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
+github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
@@ -160,6 +163,7 @@ github.com/shurcooL/githubv4 v0.0.0-20190601194912-068505affed7/go.mod h1:hAF0iL
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f h1:tygelZueB1EtXkPI6mQ4o9DQ0+FKW41hTbunoXZCTqk=
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f/go.mod h1:AuYgA5Kyo4c7HfUmvRGs/6rGlMMV/6B1bVnB9JxJEEg=
github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
+github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/shurcooL/vfsgen v0.0.0-20180121065927-ffb13db8def0/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index ef6847c8..bbebd28f 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -39,6 +39,7 @@ __git-bug_contains_word()
__git-bug_handle_reply()
{
__git-bug_debug "${FUNCNAME[0]}"
+ local comp
case $cur in
-*)
if [[ $(type -t compopt) = "builtin" ]]; then
@@ -50,7 +51,9 @@ __git-bug_handle_reply()
else
allflags=("${flags[*]} ${two_word_flags[*]}")
fi
- COMPREPLY=( $(compgen -W "${allflags[*]}" -- "$cur") )
+ while IFS='' read -r comp; do
+ COMPREPLY+=("$comp")
+ done < <(compgen -W "${allflags[*]}" -- "$cur")
if [[ $(type -t compopt) = "builtin" ]]; then
[[ "${COMPREPLY[0]}" == *= ]] || compopt +o nospace
fi
@@ -100,10 +103,14 @@ __git-bug_handle_reply()
if [[ ${#must_have_one_flag[@]} -ne 0 ]]; then
completions+=("${must_have_one_flag[@]}")
fi
- COMPREPLY=( $(compgen -W "${completions[*]}" -- "$cur") )
+ while IFS='' read -r comp; do
+ COMPREPLY+=("$comp")
+ done < <(compgen -W "${completions[*]}" -- "$cur")
if [[ ${#COMPREPLY[@]} -eq 0 && ${#noun_aliases[@]} -gt 0 && ${#must_have_one_noun[@]} -ne 0 ]]; then
- COMPREPLY=( $(compgen -W "${noun_aliases[*]}" -- "$cur") )
+ while IFS='' read -r comp; do
+ COMPREPLY+=("$comp")
+ done < <(compgen -W "${noun_aliases[*]}" -- "$cur")
fi
if [[ ${#COMPREPLY[@]} -eq 0 ]]; then
@@ -138,7 +145,7 @@ __git-bug_handle_filename_extension_flag()
__git-bug_handle_subdirs_in_dir_flag()
{
local dir="$1"
- pushd "${dir}" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1
+ pushd "${dir}" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return
}
__git-bug_handle_flag()