Skip to content

Misleading help text for metadata --quiet #8928

Closed
@jonhoo

Description

@jonhoo

Problem
cargo metadata --quiet prints to stdout even though --help says

OPTIONS:
    -q, --quiet                          No output printed to stdout

Steps

  1. cargo metadata --help
  2. cargo metadata --quiet
  3. Observe that stdout is not empty

Possible Solution(s)
Obviously, --quiet meant to indicate that no cargo messages are printed to stdout (or maybe stderr) like "Updating index". But, the way it's written, it clearly implies that no output should go to stdout.

Notes

Output of cargo version: cargo 1.47.0 (f3c7e06 2020-08-28)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions