compat/snprintf.c: handle snprintf's that always return the # chars transmitted
[gitweb.git] / builtin-grep.c
index 647535061c350b68f1583fc12b049a37eb17481c..631129ddfd0ffe06f919882d22cfc494d9553f50 100644 (file)
@@ -498,7 +498,7 @@ static int grep_object(struct grep_opt *opt, const char **paths,
 }
 
 static const char builtin_grep_usage[] =
-"git-grep <option>* <rev>* [-e] <pattern> [<path>...]";
+"git grep <option>* [-e] <pattern> <rev>* [[--] <path>...]";
 
 static const char emsg_invalid_context_len[] =
 "%s: invalid context length argument";