mirror of
https://github.com/yuzu-emu/breakpad
synced 2024-11-22 17:43:53 +00:00
mac dump_syms: fix -d option
This is a follow-up to 3c70e0145e
to make -d work.
Bug: chromium:1190878,chromium:1238693
Change-Id: Ie0c6c663c98491462fca1aa992503037f19cefa9
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3103526
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
3c70e0145e
commit
524a6249f0
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,7 @@ static void SetupOptions(int argc, const char *argv[], Options *options) {
|
||||||
extern int optind;
|
extern int optind;
|
||||||
signed char ch;
|
signed char ch;
|
||||||
|
|
||||||
while ((ch = getopt(argc, (char * const*)argv, "ia:g:chr?")) != -1) {
|
while ((ch = getopt(argc, (char * const*)argv, "ia:g:crd?h")) != -1) {
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'i':
|
case 'i':
|
||||||
options->header_only = true;
|
options->header_only = true;
|
||||||
|
@ -241,6 +241,7 @@ static void SetupOptions(int argc, const char *argv[], Options *options) {
|
||||||
break;
|
break;
|
||||||
case 'd':
|
case 'd':
|
||||||
options->handle_inlines = true;
|
options->handle_inlines = true;
|
||||||
|
break;
|
||||||
case '?':
|
case '?':
|
||||||
case 'h':
|
case 'h':
|
||||||
Usage(argc, argv);
|
Usage(argc, argv);
|
||||||
|
|
Loading…
Reference in a new issue