]> git.ipfire.org Git - thirdparty/git.git/commitdiff
am: align placeholder for --whitespace option with apply
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2023 23:35:06 +0000 (16:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2023 23:35:44 +0000 (16:35 -0700)
`git am` passes the value given to its `--whitespace` option through
to the underlying `git apply`, and the value is called <action> over
there.  Fix the documentation for the command that calls the value
<option> to say <action> instead.

Note that the option help given by `git am -h` already calls the
value <action>, so there is no need to make a matching change there.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-am.txt

index 0c1dfb3c98b440f87e561a0d44c240a41d80dc14..de3d5dde995a73bbc8f8cfacb17e135f656321e7 100644 (file)
@@ -12,7 +12,7 @@ SYNOPSIS
 'git am' [--signoff] [--keep] [--[no-]keep-cr] [--[no-]utf8] [--no-verify]
         [--[no-]3way] [--interactive] [--committer-date-is-author-date]
         [--ignore-date] [--ignore-space-change | --ignore-whitespace]
-        [--whitespace=<option>] [-C<n>] [-p<n>] [--directory=<dir>]
+        [--whitespace=<action>] [-C<n>] [-p<n>] [--directory=<dir>]
         [--exclude=<path>] [--include=<path>] [--reject] [-q | --quiet]
         [--[no-]scissors] [-S[<keyid>]] [--patch-format=<format>]
         [--quoted-cr=<action>]
@@ -116,7 +116,7 @@ include::rerere-options.txt[]
 
 --ignore-space-change::
 --ignore-whitespace::
---whitespace=<option>::
+--whitespace=<action>::
 -C<n>::
 -p<n>::
 --directory=<dir>::