aboutsummaryrefslogtreecommitdiffstats
path: root/doc/md
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-21 14:02:05 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-21 14:02:05 +0200
commit6e4475941309b1b8aed7415b948ba6d26d80dfad (patch)
tree727a761970b6a7cbc3558918e253616843a1422f /doc/md
parentcfce3a9914c4a7762399119fabc63c77f567d7cf (diff)
downloadgit-bug-6e4475941309b1b8aed7415b948ba6d26d80dfad.tar.gz
commands: add a "ls-labels" command that output valid labels
Diffstat (limited to 'doc/md')
-rw-r--r--doc/md/git-bug.md1
-rw-r--r--doc/md/git-bug_ls-label.md24
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/md/git-bug.md b/doc/md/git-bug.md
index af5386ff..3d0592c9 100644
--- a/doc/md/git-bug.md
+++ b/doc/md/git-bug.md
@@ -25,6 +25,7 @@ git-bug [flags]
* [git-bug comment](git-bug_comment.md) - Display or add comments
* [git-bug label](git-bug_label.md) - Display, add or remove labels
* [git-bug ls](git-bug_ls.md) - List bugs
+* [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
* [git-bug select](git-bug_select.md) - Select a bug for implicit use in future commands
diff --git a/doc/md/git-bug_ls-label.md b/doc/md/git-bug_ls-label.md
new file mode 100644
index 00000000..f3b82f4f
--- /dev/null
+++ b/doc/md/git-bug_ls-label.md
@@ -0,0 +1,24 @@
+## git-bug ls-label
+
+List valid labels
+
+### Synopsis
+
+List valid labels.
+
+Note: in the future, a proper label policy could be implemented where valid labels are defined in a configuration file. Until that, the default behavior is to return the list of labels already used.
+
+```
+git-bug ls-label [flags]
+```
+
+### Options
+
+```
+ -h, --help help for ls-label
+```
+
+### SEE ALSO
+
+* [git-bug](git-bug.md) - A bug tracker embedded in Git
+