# Re: \[PATCH v3 05/36\] doc SYNOPSIS: don't use ' for subcommands

- From: Junio C Hamano \<hidden\>
- Date: 2022-09-30 21:23:21 
- List: git
- Page: https://ratatoskr.run/git/2022/09/7957065
- Thread: https://ratatoskr.run/git/2022/09/7957065/t.md

```text
Ævar Arnfjörð Bjarmason  [ref] writes:

> Almost all of our documentation doesn't use "'" syntax for
> subcommands, but these did, let's make them consistent with the
> rest.
>
> Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
> ---
>  Documentation/git-reflog.txt | 2 +-
>  Documentation/git-rerere.txt | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Good.

> diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt
> index db9d46edfa9..0537d4645be 100644
> --- a/Documentation/git-reflog.txt
> +++ b/Documentation/git-reflog.txt
> @@ -17,7 +17,7 @@ The command takes various subcommands, and different options
>  depending on the subcommand:
>  
>  [verse]
> -'git reflog' ['show'] [<log-options>] [<ref>]
> +'git reflog' [show] [<log-options>] [<ref>]
>  'git reflog expire' [--expire=<time>] [--expire-unreachable=<time>]
>  	[--rewrite] [--updateref] [--stale-fix]
>  	[--dry-run | -n] [--verbose] [--all [--single-worktree] | <refs>...]
> diff --git a/Documentation/git-rerere.txt b/Documentation/git-rerere.txt
> index 4cfc8833780..4b613d4140c 100644
> --- a/Documentation/git-rerere.txt
> +++ b/Documentation/git-rerere.txt
> @@ -8,7 +8,7 @@ git-rerere - Reuse recorded resolution of conflicted merges
>  SYNOPSIS
>  --------
>  [verse]
> -'git rerere' ['clear'|'forget' <pathspec>|'diff'|'remaining'|'status'|'gc']
> +'git rerere' [clear|forget <pathspec>|diff|remaining|status|gc]
>  
>  DESCRIPTION
>  -----------
```
