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>
This commit is contained in:
Jeff King 2015-05-13 00:58:51 -04:00 committed by Junio C Hamano
parent a367b8699d
commit 0a3ca9c011

View File

@ -93,7 +93,8 @@ This effectively runs `add --interactive`, but bypasses the
initial command menu and directly jumps to the `patch` subcommand. initial command menu and directly jumps to the `patch` subcommand.
See ``Interactive mode'' for details. See ``Interactive mode'' for details.
-e, \--edit:: -e::
--edit::
Open the diff vs. the index in an editor and let the user Open the diff vs. the index in an editor and let the user
edit it. After the editor was closed, adjust the hunk headers edit it. After the editor was closed, adjust the hunk headers
and apply the patch to the index. and apply the patch to the index.