]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-add.txt: add missing short option -A to synopsis
authorEric Sunshine <sunshine@sunshineco.com>
Fri, 15 Dec 2023 20:43:33 +0000 (15:43 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Dec 2023 21:01:51 +0000 (13:01 -0800)
With one exception, the synopsis for `git add` consistently lists the
short counterpart alongside the long-form of each option (for instance,
"[--edit | -e]"). The exception is that -A is not mentioned alongside
--all. Fix this inconsistency

Reported-by: Benjamin Lehmann <ben.lehmann@gmail.com>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt

index ed44c1cb31ca6eaf7e63d7920cbc15c3a2e0619f..3d2e6707168b69d591e3bf2a50abe3a62fc2ee23 100644 (file)
@@ -9,7 +9,7 @@ SYNOPSIS
 --------
 [verse]
 'git add' [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]
-         [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]] [--sparse]
+         [--edit | -e] [--[no-]all | -A | --[no-]ignore-removal | [--update | -u]] [--sparse]
          [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]
          [--chmod=(+|-)x] [--pathspec-from-file=<file> [--pathspec-file-nul]]
          [--] [<pathspec>...]