Skip to content

Promote -v and -q option to standard option displayed by -h #4623

@tats-u

Description

@tats-u

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

#4455 (comment)
#4619 (comment)

One more thing, not a few beginners mistakenly try to show its version by -v flag. They will get:

zstd -v
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
stdin is a console, aborting

This "unknown" behavior must be described by -h.

Describe the solution you'd like
A clear and concise description of what you want to happen.

-h should display how to use -v and -q like the other competing commands (e.g. gzip).

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Who on earth cares?

Additional context
Add any other context or screenshots about the feature request here.

See #4455 (comment) for the output of each command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions