`--version` doesn't print version info
documentationenhancement
On a fresh download of `crabz@0.8.1` on Linux:
```sh
crabz -V
```
```text
crabz git:22d81b5
```
FYI, the standard git commit reference is just a `g` prefix and then 7 characters: `g22d81b5`.
Often like this:
```text
crabz v0.8.1 (g22d81b5)
```
The reason it's formatted that way comes from `git-describe`, which is typically used by tools that mix git commit info with other baked-in build / release info.
关闭于 2024-03-17 2 条评论