bytecodealliance / bytecodealliance/sightglass

Print an error when an output format is requested without `--raw` on `benchmark`

Open
#213 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
WebAssembly
Stars
88
Forks
37
Avg merge
5h 5m
Merged PRs (30d)
1

Description

I tried to collect some benchmarks today and passed `-o foo.json -f json` and was perplexed as the output wasn't in JSON form. I later learned, however, that I should pass `--raw` which then output JSON. I think it would have helped myself if the usage of `-f` or `--output-format` was an error without the `--raw` flag in this case.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.