doc/add: reformat `--edit` option
All of the other options in the list put short and long as two separate headings. We can also drop the backslashing of `--`. It isn't used elsewhere and is unnecessary for modern asciidoc (plus it confuses asciidoctor). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
May 13, 2015 at 00:58 UTC
0a3ca9c011c274f4e38a6a4508f5a370b32a0745
1 file changed
+2
-1
Documentation/git-add.txt
+2
-1
@@ -93,7 +93,8 @@ This effectively runs `add --interactive`, but bypasses the
93
initial command menu and directly jumps to the `patch` subcommand.
94
See ``Interactive mode'' for details.
95
96
--e, \--edit::
96
+-e::
97
+--edit::
98
Open the diff vs. the index in an editor and let the user
99
edit it. After the editor was closed, adjust the hunk headers
100
and apply the patch to the index.