[PATCH] Unify usage strings declaration
All usage strings are now declared as static const char []. This is carried over from my old git-pb branch. Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
0b124bb4bf
commit
4d1f119033
@ -400,11 +400,10 @@ static void show_files(void)
|
||||
}
|
||||
}
|
||||
|
||||
static const char *ls_files_usage =
|
||||
static const char ls_files_usage[] =
|
||||
"git-ls-files [-z] [-t] (--[cached|deleted|others|stage|unmerged|killed])* "
|
||||
"[ --ignored ] [--exclude=<pattern>] [--exclude-from=<file>] "
|
||||
"[ --exclude-per-directory=<filename> ]";
|
||||
;
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
Reference in New Issue
Block a user