From 0ffa79ef13890d4bd46079205b3f6682b93985e9 Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Sun, 25 Sep 2022 15:22:03 -0400 Subject: feat(530) make label commands consistent --- doc/man/git-bug-label-ls.1 | 30 ++++++++++++++++++++++++++++++ doc/man/git-bug-label.1 | 2 +- doc/man/git-bug-ls-label.1 | 30 ------------------------------ doc/man/git-bug.1 | 2 +- 4 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 doc/man/git-bug-label-ls.1 delete mode 100644 doc/man/git-bug-ls-label.1 (limited to 'doc/man') diff --git a/doc/man/git-bug-label-ls.1 b/doc/man/git-bug-label-ls.1 new file mode 100644 index 00000000..67ee7dd1 --- /dev/null +++ b/doc/man/git-bug-label-ls.1 @@ -0,0 +1,30 @@ +.nh +.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" "" + +.SH NAME +.PP +git-bug-label-ls - List valid labels. + + +.SH SYNOPSIS +.PP +\fBgit-bug label ls [flags]\fP + + +.SH DESCRIPTION +.PP +List valid labels. + +.PP +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. + + +.SH OPTIONS +.PP +\fB-h\fP, \fB--help\fP[=false] + help for ls + + +.SH SEE ALSO +.PP +\fBgit-bug-label(1)\fP diff --git a/doc/man/git-bug-label.1 b/doc/man/git-bug-label.1 index 9dfc5c89..69a5c217 100644 --- a/doc/man/git-bug-label.1 +++ b/doc/man/git-bug-label.1 @@ -24,4 +24,4 @@ Display, add or remove labels to/from a bug. .SH SEE ALSO .PP -\fBgit-bug(1)\fP, \fBgit-bug-label-add(1)\fP, \fBgit-bug-label-rm(1)\fP +\fBgit-bug(1)\fP, \fBgit-bug-label-add(1)\fP, \fBgit-bug-label-ls(1)\fP, \fBgit-bug-label-rm(1)\fP diff --git a/doc/man/git-bug-ls-label.1 b/doc/man/git-bug-ls-label.1 deleted file mode 100644 index 65857083..00000000 --- a/doc/man/git-bug-ls-label.1 +++ /dev/null @@ -1,30 +0,0 @@ -.nh -.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" "" - -.SH NAME -.PP -git-bug-ls-label - List valid labels. - - -.SH SYNOPSIS -.PP -\fBgit-bug ls-label [flags]\fP - - -.SH DESCRIPTION -.PP -List valid labels. - -.PP -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. - - -.SH OPTIONS -.PP -\fB-h\fP, \fB--help\fP[=false] - help for ls-label - - -.SH SEE ALSO -.PP -\fBgit-bug(1)\fP diff --git a/doc/man/git-bug.1 b/doc/man/git-bug.1 index 419bb2c7..b982c7f4 100644 --- a/doc/man/git-bug.1 +++ b/doc/man/git-bug.1 @@ -29,4 +29,4 @@ the same git remote you are already using to collaborate with other people. .SH SEE ALSO .PP -\fBgit-bug-add(1)\fP, \fBgit-bug-bridge(1)\fP, \fBgit-bug-commands(1)\fP, \fBgit-bug-comment(1)\fP, \fBgit-bug-deselect(1)\fP, \fBgit-bug-label(1)\fP, \fBgit-bug-ls(1)\fP, \fBgit-bug-ls-label(1)\fP, \fBgit-bug-pull(1)\fP, \fBgit-bug-push(1)\fP, \fBgit-bug-rm(1)\fP, \fBgit-bug-select(1)\fP, \fBgit-bug-show(1)\fP, \fBgit-bug-status(1)\fP, \fBgit-bug-termui(1)\fP, \fBgit-bug-title(1)\fP, \fBgit-bug-user(1)\fP, \fBgit-bug-version(1)\fP, \fBgit-bug-webui(1)\fP +\fBgit-bug-add(1)\fP, \fBgit-bug-bridge(1)\fP, \fBgit-bug-commands(1)\fP, \fBgit-bug-comment(1)\fP, \fBgit-bug-deselect(1)\fP, \fBgit-bug-label(1)\fP, \fBgit-bug-ls(1)\fP, \fBgit-bug-pull(1)\fP, \fBgit-bug-push(1)\fP, \fBgit-bug-rm(1)\fP, \fBgit-bug-select(1)\fP, \fBgit-bug-show(1)\fP, \fBgit-bug-status(1)\fP, \fBgit-bug-termui(1)\fP, \fBgit-bug-title(1)\fP, \fBgit-bug-user(1)\fP, \fBgit-bug-version(1)\fP, \fBgit-bug-webui(1)\fP -- cgit