# Documentation: update "man git-add" to include "[]"

2 messages from 2018-12-08 to 2018-12-09. Participants: Robert P. J. Day, Junio C Hamano.
Thread: https://gitlist.dev/t/49977

## Robert P. J. Day, 2018-12-08 15:00

Subject: Documentation: update "man git-add" to include "[]"
Message-ID: <alpine.LFD.2.21.1812080958180.26244@localhost.localdomain>
URL: https://gitlist.dev/e/alpine.LFD.2.21.1812080958180.26244%40localhost.localdomain

```

Current "man git-add" emphasizes single letter interactive
shortcut commands with "[]".

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 45652fe4a6..ad9bd7c7a6 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -239,8 +239,8 @@ and type return, like this:

 ------------
     *** Commands ***
-      1: status       2: update       3: revert       4: add untracked
-      5: patch        6: diff         7: quit         8: help
+      1: [s]tatus     2: [u]pdate     3: [r]evert     4: [a]dd untracked
+      5: [p]atch      6: [d]iff       7: [q]uit       8: [h]elp
     What now> 1
 ------------


-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

```

## Junio C Hamano, 2018-12-09 02:07

Subject: Re: Documentation: update "man git-add" to include "[]"
Message-ID: <xmqqwooj4fn8.fsf@gitster-ct.c.googlers.com>
URL: https://gitlist.dev/e/xmqqwooj4fn8.fsf%40gitster-ct.c.googlers.com
In-Reply-To: <alpine.LFD.2.21.1812080958180.26244@localhost.localdomain>

```
"Robert P. J. Day" <rpjday@crashcourse.ca> writes:

> Current "man git-add" emphasizes single letter interactive
> shortcut commands with "[]".

Not for me.  These prefixes are instead painted in colors.

```
