From 10ba2246f9b5285f5118a5ba5be134724af4bbe0 Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Sun, 25 Sep 2022 08:05:34 -0400 Subject: refactor(git-bug-863): merge ls-id into ls The "ls" command allows filtering and sorting and already features different output formatters. Merging "ls-id" into "ls" cleans up the command hierarchy and allows users to take advantage of these querying features. Resolves #863. --- doc/md/git-bug.md | 1 - doc/md/git-bug_ls-id.md | 18 ------------------ doc/md/git-bug_ls.md | 2 +- 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 doc/md/git-bug_ls-id.md (limited to 'doc/md') diff --git a/doc/md/git-bug.md b/doc/md/git-bug.md index 99b554e2..754cc93f 100644 --- a/doc/md/git-bug.md +++ b/doc/md/git-bug.md @@ -31,7 +31,6 @@ git-bug [flags] * [git-bug deselect](git-bug_deselect.md) - Clear the implicitly selected bug. * [git-bug label](git-bug_label.md) - Display, add or remove labels to/from a bug. * [git-bug ls](git-bug_ls.md) - List bugs. -* [git-bug ls-id](git-bug_ls-id.md) - List bug identifiers. * [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. diff --git a/doc/md/git-bug_ls-id.md b/doc/md/git-bug_ls-id.md deleted file mode 100644 index 493a1829..00000000 --- a/doc/md/git-bug_ls-id.md +++ /dev/null @@ -1,18 +0,0 @@ -## git-bug ls-id - -List bug identifiers. - -``` -git-bug ls-id [PREFIX] [flags] -``` - -### Options - -``` - -h, --help help for ls-id -``` - -### SEE ALSO - -* [git-bug](git-bug.md) - A bug tracker embedded in Git. - diff --git a/doc/md/git-bug_ls.md b/doc/md/git-bug_ls.md index a40b3fd9..5aec0fbc 100644 --- a/doc/md/git-bug_ls.md +++ b/doc/md/git-bug_ls.md @@ -42,7 +42,7 @@ git bug ls status:open --by creation "foo bar" baz -n, --no strings Filter by absence of something. Valid values are [label] -b, --by string Sort the results by a characteristic. Valid values are [id,creation,edit] (default "creation") -d, --direction string Select the sorting direction. Valid values are [asc,desc] (default "asc") - -f, --format string Select the output formatting style. Valid values are [default,plain,compact,json,org-mode] (default "default") + -f, --format string Select the output formatting style. Valid values are [default,plain,compact,id,json,org-mode] (default "default") -h, --help help for ls ``` -- cgit