From 4618d2ca827505a7bb60c30c8ac3f1446619ec1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Thu, 13 Oct 2022 17:39:24 +0200 Subject: [PATCH] reflog doc: list real subcommands up-front MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the "git reflog" documentation to exhaustively list the subcommands it accepts in the SYNOPSIS, as opposed to leaving that for a "[verse]" in the DESCRIPTION section. This documentation style was added in cf39f54efc6 (git reflog show, 2007-02-08), but isn't how other commands which take subcommands are documented. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- Documentation/git-reflog.txt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 0537d4645b..ec64cbff4c 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -8,14 +8,6 @@ git-reflog - Manage reflog information SYNOPSIS -------- -[verse] -'git reflog' - -DESCRIPTION ------------ -The command takes various subcommands, and different options -depending on the subcommand: - [verse] 'git reflog' [show] [] [] 'git reflog expire' [--expire=