From 93115429840b2527d66c0100e78d6c62df14b4a7 Mon Sep 17 00:00:00 2001 From: sudoforge Date: Mon, 19 May 2025 19:41:33 -0700 Subject: refactor(cli)!: remove the 'commands' command (#1462) This change removes the 'commands' command. This command historically printed out all of the commands, optionally with help text. This is superfluous, as we ship a manpage for each of the common shells, have markdown documentation available in the repository, and provide help text via the `--help` flag. BREAKING-CHANGE: The `commands` command has been removed. There is no replacement planned. Users are encouraged to run `--help`, view the markdown documentation available online, or run `man git-bug` to view the manpage in your terminal. Change-Id: I8bbfb03c03c820ec0b56549e59ab76826c45b9cc --- doc/man/git-bug-commands.1 | 26 -------------------------- doc/man/git-bug.1 | 2 +- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 doc/man/git-bug-commands.1 (limited to 'doc/man') diff --git a/doc/man/git-bug-commands.1 b/doc/man/git-bug-commands.1 deleted file mode 100644 index 58d24fc47..000000000 --- a/doc/man/git-bug-commands.1 +++ /dev/null @@ -1,26 +0,0 @@ -.nh -.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" "" - -.SH NAME -git-bug-commands - Display available commands. - - -.SH SYNOPSIS -\fBgit-bug commands [flags]\fP - - -.SH DESCRIPTION -Display available commands. - - -.SH OPTIONS -\fB-p\fP, \fB--pretty\fP[=false] - Output the command description as well as Markdown compatible comment - -.PP -\fB-h\fP, \fB--help\fP[=false] - help for commands - - -.SH SEE ALSO -\fBgit-bug(1)\fP diff --git a/doc/man/git-bug.1 b/doc/man/git-bug.1 index 24d8e8644..7320689b4 100644 --- a/doc/man/git-bug.1 +++ b/doc/man/git-bug.1 @@ -24,4 +24,4 @@ the same git remote you are already using to collaborate with other people. .SH SEE ALSO -\fBgit-bug-bridge(1)\fP, \fBgit-bug-bug(1)\fP, \fBgit-bug-commands(1)\fP, \fBgit-bug-label(1)\fP, \fBgit-bug-pull(1)\fP, \fBgit-bug-push(1)\fP, \fBgit-bug-termui(1)\fP, \fBgit-bug-user(1)\fP, \fBgit-bug-version(1)\fP, \fBgit-bug-webui(1)\fP, \fBgit-bug-wipe(1)\fP +\fBgit-bug-bridge(1)\fP, \fBgit-bug-bug(1)\fP, \fBgit-bug-label(1)\fP, \fBgit-bug-pull(1)\fP, \fBgit-bug-push(1)\fP, \fBgit-bug-termui(1)\fP, \fBgit-bug-user(1)\fP, \fBgit-bug-version(1)\fP, \fBgit-bug-webui(1)\fP, \fBgit-bug-wipe(1)\fP -- cgit v1.2.3