aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-02-28 16:27:14 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-28 21:20:15 +0100
commitea329aed6909cac85680dbae37f6f4dcca134f8b (patch)
tree7183be55a5bc65cafa75f1a16f24cad84d8ad9fb /misc
parent3957d4a027b034f9b9a78b160691992b9f4de291 (diff)
downloadgit-bug-ea329aed6909cac85680dbae37f6f4dcca134f8b.tar.gz
Add option to specify host address
'--host'-cmdline-option is added to the webui command. Previously, the WebUI couldn't be hosted inside of a container. As the WebUI-server only listend per default to localhost and there was no option to change the address, the server should listend to. This means, that the WebUI was only reachable from localhost. So only from inside of the container but never from outside. The '--host'-option allows to set the IP address or a hostname which the WebUI-server should listen to. E.g. by setting 0.0.0.0 or :: as address. Update documentation for new option. Update shell completion for new option. Compilation seems to add another go-gitlab version.
Diffstat (limited to 'misc')
-rw-r--r--misc/bash_completion/git-bug4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 3cedd86a..8f2a0f8f 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -1331,6 +1331,10 @@ _git-bug_webui()
flags_with_completion=()
flags_completion=()
+ flags+=("--host=")
+ two_word_flags+=("--host")
+ local_nonpersistent_flags+=("--host")
+ local_nonpersistent_flags+=("--host=")
flags+=("--open")
local_nonpersistent_flags+=("--open")
flags+=("--no-open")