aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_configure.go
diff options
context:
space:
mode:
authoramine <hilalyamine@gmail.com>2019-12-10 20:30:29 +0100
committeramine <hilalyamine@gmail.com>2019-12-10 21:05:55 +0100
commitf6b4830c0b68f3b5c616236bc9d51943765c8b4a (patch)
tree324f36a49d1a26253bb1fc1ecc923d50aaed2912 /commands/bridge_configure.go
parentf1ed857cbd3a253d77b31c0c896fdc4ade40844f (diff)
downloadgit-bug-f6b4830c0b68f3b5c616236bc9d51943765c8b4a.tar.gz
bridge/gitlab: support self-hosted GitLab instance
Diffstat (limited to 'commands/bridge_configure.go')
-rw-r--r--commands/bridge_configure.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/bridge_configure.go b/commands/bridge_configure.go
index 00634b28..26bd7bc2 100644
--- a/commands/bridge_configure.go
+++ b/commands/bridge_configure.go
@@ -216,6 +216,7 @@ func init() {
bridgeConfigureCmd.Flags().StringVarP(&bridgeConfigureTarget, "target", "t", "",
fmt.Sprintf("The target of the bridge. Valid values are [%s]", strings.Join(bridge.Targets(), ",")))
bridgeConfigureCmd.Flags().StringVarP(&bridgeConfigureParams.URL, "url", "u", "", "The URL of the target repository")
+ bridgeConfigureCmd.Flags().StringVarP(&bridgeConfigureParams.BaseURL, "base-url", "b", "", "The base URL of your issue tracker service")
bridgeConfigureCmd.Flags().StringVarP(&bridgeConfigureParams.Owner, "owner", "o", "", "The owner of the target repository")
bridgeConfigureCmd.Flags().StringVarP(&bridgeConfigureParams.CredPrefix, "credential", "c", "", "The identifier or prefix of an already known credential for the API (see \"git-bug bridge auth\")")
bridgeConfigureCmd.Flags().StringVar(&bridgeConfigureToken, "token", "", "A raw authentication token for the API")