summaryrefslogtreecommitdiff
path: root/builtin-add.c
diff options
context:
space:
mode:
authorBrian Hetro <whee@smaertness.net>2007-08-25 23:20:06 -0400
committerJunio C Hamano <gitster@pobox.com>2007-08-25 22:35:44 -0700
commit480611d170e1c013b06a49e81a178fefd278b313 (patch)
tree1f4b193632b423739177e80bbccae1eee37fc42e /builtin-add.c
parent1560be16b94a85df166ae26bcfff11bcd57c2fed (diff)
downloadgit-480611d170e1c013b06a49e81a178fefd278b313.tar.gz
Make usage documentation for git-add consistent.
The usage string for the executable was missing --refresh. In addition, the documentation referred to "file", but the usage string referred to "filepattern". Updated the documentation to "filepattern", as git-add does handle patterns. Signed-off-by: Brian Hetro <whee@smaertness.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-add.c')
-rw-r--r--builtin-add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-add.c b/builtin-add.c
index 3dd4ded937..b08e68831a 100644
--- a/builtin-add.c
+++ b/builtin-add.c
@@ -14,7 +14,7 @@
#include "revision.h"
static const char builtin_add_usage[] =
-"git-add [-n] [-v] [-f] [--interactive | -i] [-u] [--] <filepattern>...";
+"git-add [-n] [-v] [-f] [--interactive | -i] [-u] [--refresh] [--] <filepattern>...";
static int take_worktree_changes;
static const char *excludes_file;