aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-05-27 21:47:26 +0200
committerMichael Muré <batolettre@gmail.com>2019-05-27 21:47:26 +0200
commit8bfc65df6c4db01e74e5793fb4da402078b37648 (patch)
treebf9ca09db5b46a90b5c270191b40f0ae4dbb42d5 /doc
parentd564e37b317a2d59a9694d80b03b40e5d36f741f (diff)
downloadgit-bug-8bfc65df6c4db01e74e5793fb4da402078b37648.tar.gz
commands: add flags/config to control the automatic opening in the default browser
Diffstat (limited to 'doc')
-rw-r--r--doc/man/git-bug-webui.114
-rw-r--r--doc/md/git-bug.md2
-rw-r--r--doc/md/git-bug_ls-id.md4
-rw-r--r--doc/md/git-bug_webui.md8
4 files changed, 23 insertions, 5 deletions
diff --git a/doc/man/git-bug-webui.1 b/doc/man/git-bug-webui.1
index 3b72ec0b..9bcb65fd 100644
--- a/doc/man/git-bug-webui.1
+++ b/doc/man/git-bug-webui.1
@@ -17,11 +17,23 @@ git\-bug\-webui \- Launch the web UI.
.PP
Launch the web UI.
+.PP
+Available git config:
+ git\-bug.webui.open [bool]: control the automatic opening of the web UI in the default browser
+
.SH OPTIONS
.PP
+\fB\-\-open\fP[=false]
+ 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
+
+.PP
\fB\-p\fP, \fB\-\-port\fP=0
- Port to listen to
+ Port to listen to (default is random)
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
diff --git a/doc/md/git-bug.md b/doc/md/git-bug.md
index b47bd5c2..5f57f838 100644
--- a/doc/md/git-bug.md
+++ b/doc/md/git-bug.md
@@ -31,7 +31,7 @@ git-bug [flags]
* [git-bug deselect](git-bug_deselect.md) - Clear the implicitly selected bug.
* [git-bug label](git-bug_label.md) - Display, add or remove labels to/from a bug.
* [git-bug ls](git-bug_ls.md) - List bugs.
-* [git-bug ls-id](git-bug_ls-id.md) - List Bug Id
+* [git-bug ls-id](git-bug_ls-id.md) - List bug identifiers.
* [git-bug ls-label](git-bug_ls-label.md) - List valid labels.
* [git-bug pull](git-bug_pull.md) - Pull bugs update from a git remote.
* [git-bug push](git-bug_push.md) - Push bugs update to a git remote.
diff --git a/doc/md/git-bug_ls-id.md b/doc/md/git-bug_ls-id.md
index 2e99f134..0117474c 100644
--- a/doc/md/git-bug_ls-id.md
+++ b/doc/md/git-bug_ls-id.md
@@ -1,10 +1,10 @@
## git-bug ls-id
-List Bug Id
+List bug identifiers.
### Synopsis
-List Bug Id
+List bug identifiers.
```
git-bug ls-id [<prefix>] [flags]
diff --git a/doc/md/git-bug_webui.md b/doc/md/git-bug_webui.md
index cc3a85de..f3ab724a 100644
--- a/doc/md/git-bug_webui.md
+++ b/doc/md/git-bug_webui.md
@@ -6,6 +6,10 @@ Launch the web UI.
Launch the web UI.
+Available git config:
+ git-bug.webui.open [bool]: control the automatic opening of the web UI in the default browser
+
+
```
git-bug webui [flags]
```
@@ -13,7 +17,9 @@ git-bug webui [flags]
### Options
```
- -p, --port int Port to listen to
+ --open Automatically open the web UI in the default browser
+ --no-open Prevent the automatic opening of the web UI in the default browser
+ -p, --port int Port to listen to (default is random)
-h, --help help for webui
```