Fix #10081.
- The format specifiers for the literal % symbols in the help text weren't correct, leading to vfprintf attempting to parse them, and winding up hitting garbage pointers as a consequence, leading to a crash.
This commit is contained in:
parent
111e76b755
commit
db74c31d28
@ -82,10 +82,10 @@ static const char* kUsage =
|
||||
" -f <format>, --format <format>\n"
|
||||
" - Print the given format string, performing the following\n"
|
||||
" replacements:\n"
|
||||
" %fileName% - the package's canonical file name\n"
|
||||
" %name% - the package name\n"
|
||||
" %version% - the package version\n"
|
||||
" %% - %\n"
|
||||
" %%fileName%% - the package's canonical file name\n"
|
||||
" %%name%% - the package name\n"
|
||||
" %%version%% - the package version\n"
|
||||
" %%%% - %%\n"
|
||||
" \n - new line\n"
|
||||
" \t - tab\n"
|
||||
"\n"
|
||||
|
Loading…
Reference in New Issue
Block a user