mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
67edebb322
`PrintUsageThenExit(code)` was supposed to exit when `code` was not zero, but: - The name didn't reflect that, so it was confusing that `PrintUsageThenExit(0)` would *not* exit. - The implementation in the Base Profiler exited anyway! This caused issues with some legacy code that still used the now-removed "threads" feature. This patch renames the function to just `PrintUsage()` and never exits, leaving the caller to invoke `exit(code)` as needed -- with the added benefit that it's possible to exit with a zero code, useful in cases where an exit is not actually an error. Differential Revision: https://phabricator.services.mozilla.com/D135666 |
||
---|---|---|
.. | ||
bloatview | ||
browsertime | ||
clang-tidy | ||
code-coverage | ||
compare-locales | ||
crashreporter | ||
fuzzing | ||
github-sync | ||
jprof | ||
leak-gauge | ||
lint | ||
moztreedocs | ||
performance | ||
phabricator | ||
power | ||
profiler | ||
quitter | ||
rb | ||
rewriting | ||
rusttests | ||
sanitizer/docs | ||
tryselect | ||
update-packaging | ||
update-programs | ||
update-verify | ||
vcs | ||
mach_commands.py | ||
moz.build |