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:
Mark Mentovai 2021-08-18 09:53:25 -04:00
parent 3c70e0145e
commit 524a6249f0

View file

@ -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);