facebook / facebook/zstd

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

未关闭
#4,623 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
27.9k
派生
2.6k
平均合并
1 天 3 小时
30 天内合并 PR
8

描述

**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 [...]

https://github.com/facebook/zstd/issues/4455#issuecomment-3166077112
https://github.com/facebook/zstd/pull/4619#issuecomment-4048931355

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 https://github.com/facebook/zstd/issues/4455#issue-3295169130 for the output of each command.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。