mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Adds `--help` and `--alsologtostderr`, latter as a boolean switch. Error message was being sent to `/dev/null` by default, this allows it to print to stderr. Helps in debugging why the script may be failing. Tested by running 1. `./scripts/create_compdb.py`. This is the baseline (trunk). Can fail or succeed. Not evaluated. 2. `./scripts/create_compdb.py --help`. Prints help. Expected. 3. `./scripts/create_compdb.py --also`. Fails. Expected because of disabled abbreviations. 4. `./scripts/create_compdb.py --alsologtostderr`. Correctly printed error logs. Expected.