summaryrefslogtreecommitdiff
path: root/builtin/checkout-index.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-11-08 19:54:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-15 18:04:56 (GMT)
commit8c83968385e1e742e188435fd2fe5ebf57565e49 (patch)
tree128fbce77c06fd198b323bdf6721e321abcab02f /builtin/checkout-index.c
parent76946b76fe3d26507d61cae97aa0676fad24ed92 (diff)
downloadgit-8c83968385e1e742e188435fd2fe5ebf57565e49.zip
git-8c83968385e1e742e188435fd2fe5ebf57565e49.tar.gz
git-8c83968385e1e742e188435fd2fe5ebf57565e49.tar.bz2
Describe various forms of "be quiet" using OPT__QUIET
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/checkout-index.c')
-rw-r--r--builtin/checkout-index.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/checkout-index.c b/builtin/checkout-index.c
index 91fb9bf..1ee3044 100644
--- a/builtin/checkout-index.c
+++ b/builtin/checkout-index.c
@@ -218,7 +218,8 @@ int cmd_checkout_index(int argc, const char **argv, const char *prefix)
OPT_BOOLEAN('a', "all", &all,
"checks out all files in the index"),
OPT__FORCE(&force, "forces overwrite of existing files"),
- OPT__QUIET(&quiet, "be quiet"),
+ OPT__QUIET(&quiet,
+ "no warning for existing files and files not in index"),
OPT_BOOLEAN('n', "no-create", &not_new,
"don't checkout new files"),
{ OPTION_CALLBACK, 'u', "index", &newfd, NULL,