aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-09-02 11:34:47 +0200
committerGitHub <noreply@github.com>2019-09-02 11:34:47 +0200
commit16af70894c0348ec90dfee69274f7d44ef2eb079 (patch)
tree5018a7356afa8ade6a69eb8767aa7a3439aa01da /doc/man
parentc7792a5d1279a92c8d0caf67a0cf688cc9e32e09 (diff)
parentf3d8da10750d58fce482042cff87455a1e6f36e0 (diff)
downloadgit-bug-16af70894c0348ec90dfee69274f7d44ef2eb079.tar.gz
Merge pull request #200 from MichaelMure/bridge-token-stdin
bridge: support --token-stdin
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/git-bug-bridge-configure.115
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/man/git-bug-bridge-configure.1 b/doc/man/git-bug-bridge-configure.1
index 5e103468..e93a9e67 100644
--- a/doc/man/git-bug-bridge-configure.1
+++ b/doc/man/git-bug-bridge-configure.1
@@ -48,6 +48,10 @@ Token configuration can be directly passed with the \-\-token flag or in the ter
The authentication token for the API
.PP
+\fB\-\-token\-stdin\fP[=false]
+ Will read the token from stdin and ignore \-\-token
+
+.PP
\fB\-p\fP, \fB\-\-project\fP=""
The name of the target repository
@@ -91,7 +95,7 @@ Private:
Enter token: 87cf5c03b64029f18ea5f9ca5679daa08ccbd700
Successfully configured bridge: default
-# For Github
+# For GitHub
git bug bridge configure \\
\-\-name=default \\
\-\-target=github \\
@@ -103,7 +107,14 @@ git bug bridge configure \\
git bug bridge configure \\
\-\-name=default \\
\-\-target=launchpad\-preview \\
- \-\-url=https://bugs.launchpad.net/ubuntu/
+ \-\-url=https://bugs.launchpad.net/ubuntu/
+
+# For Gitlab
+git bug bridge configure \\
+ \-\-name=default \\
+ \-\-target=github \\
+ \-\-url=https://github.com/michaelmure/git\-bug \\
+ \-\-token=$(TOKEN)
.fi
.RE