Skip to content

Commit

Permalink
Merge pull request #50 from boretom/fix/trace-parameter-error-handling
Browse files Browse the repository at this point in the history
Handle case of invalid trace command line option
  • Loading branch information
rocky committed Feb 13, 2020
2 parents 8630dee + f1f4d62 commit e141b6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ decode_trace_flags (stringlist_t *ppsz_tracing_opts)
db_level = DB_BASIC | DB_TRACE;
else if (0 == strcmp(*p, "read"))
db_level |= DB_READ_MAKEFILES;
else
OS ( fatal, NILF, _("unknown trace command execution type `%s'"), *p);
}
}
}
Expand Down

0 comments on commit e141b6a

Please sign in to comment.