]> git.ipfire.org Git - thirdparty/git.git/commit
doc: convert git-switch manpage to new synopsis style
authorJean-Noël Avila <jn.avila@free.fr>
Sun, 25 May 2025 20:27:09 +0000 (20:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2025 14:51:02 +0000 (07:51 -0700)
commitb983aaabc8b8cf406686f23689dda7e226f67e44
treee705a27de00285bf35fa6e989b78d2e39b821b54
parentd30c5cc45921fcb8e185ec7a0b69d9b474a669a3
doc: convert git-switch manpage to new synopsis style

- Switch the synopsis to a synopsis block which will automatically
  format placeholders in italics and keywords in monospace
- Use _<placeholder>_ instead of <placeholder> in the description
- Use `backticks` for keywords and more complex option
descriptions. The new rendering engine will apply synopsis rules to
these spans.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-switch.adoc