mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-22 19:36:05 +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
|
@ -214,7 +214,7 @@ static void SetupOptions(int argc, const char *argv[], Options *options) {
|
|||
extern int optind;
|
||||
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) {
|
||||
case 'i':
|
||||
options->header_only = true;
|
||||
|
@ -241,6 +241,7 @@ static void SetupOptions(int argc, const char *argv[], Options *options) {
|
|||
break;
|
||||
case 'd':
|
||||
options->handle_inlines = true;
|
||||
break;
|
||||
case '?':
|
||||
case 'h':
|
||||
Usage(argc, argv);
|
||||
|
|
Loading…
Reference in a new issue