WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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

@alexcrichton

Description

@alexcrichton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions