add description parameter to OPT__QUIET
[gitweb.git] / builtin / checkout-index.c
index a7a5ee10f32d52c7555f85f2dcf6c567425488dd..7ba09130cc2d1e9e3043ab867823b50e6227e2de 100644 (file)
@@ -155,7 +155,7 @@ static void checkout_all(const char *prefix, int prefix_length)
 }
 
 static const char * const builtin_checkout_index_usage[] = {
-       "git checkout-index [options] [--] <file>...",
+       "git checkout-index [options] [--] [<file>...]",
        NULL
 };
 
@@ -219,7 +219,7 @@ int cmd_checkout_index(int argc, const char **argv, const char *prefix)
                        "checks out all files in the index"),
                OPT_BOOLEAN('f', "force", &force,
                        "forces overwrite of existing files"),
-               OPT__QUIET(&quiet),
+               OPT__QUIET(&quiet, "be quiet"),
                OPT_BOOLEAN('n', "no-create", &not_new,
                        "don't checkout new files"),
                { OPTION_CALLBACK, 'u', "index", &newfd, NULL,