From 280e50c7e5c2c52cbcc452fa5fb254ee580ae39c Mon Sep 17 00:00:00 2001
From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date: Wed, 28 Nov 2007 19:21:42 +0100
Subject: [PATCH] Document all help keys in "git add -i" patch mode.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/git-add.txt | 2 ++
 git-add--interactive.perl | 1 +
 2 files changed, 3 insertions(+)

diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index ce22de8d2e1..e74f83b47ad 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -217,6 +217,8 @@ patch::
        k - do not decide on this hunk now, and view the previous
            undecided hunk
        K - do not decide on this hunk now, and view the previous hunk
+       s - split the current hunk into smaller hunks
+       ? - print help
 +
 After deciding the fate for all hunks, if there is any hunk
 that was chosen, the index is updated with the selected hunks.
diff --git a/git-add--interactive.perl b/git-add--interactive.perl
index df5df3ec905..879cc5eadf6 100755
--- a/git-add--interactive.perl
+++ b/git-add--interactive.perl
@@ -562,6 +562,7 @@ J - leave this hunk undecided, see next hunk
 k - leave this hunk undecided, see previous undecided hunk
 K - leave this hunk undecided, see previous hunk
 s - split the current hunk into smaller hunks
+? - print help
 EOF
 }