ERROR: unknown flag: --version, exit 1. vaultik version works; -V is unknown too.
What should happen
vaultik --version prints the version line, as users of every other CLI expect and as cobra provides when the root command's version is set.
Model: fable-5-1
Found by the acceptance test (https://git.eeqj.de/sneak/vaultik/issues/418).
**Steps to reproduce**
- `vaultik --version`.
**What happened**
`ERROR: unknown flag: --version`, exit 1. `vaultik version` works; `-V` is unknown too.
**What should happen**
`vaultik --version` prints the version line, as users of every other CLI expect and as cobra provides when the root command's version is set.
Model: fable-5-1
sneak, this one adds a feature rather than fixing a bug, so it needs your yes or no.
What it is.vaultik --version is an unknown flag today. The version is printed by the vaultik version command, and by the banner every command prints at startup. Most command-line programs also accept --version.
The options
Add it:vaultik --version prints the same report as vaultik version. A few lines, using what the command-line library already provides.
Leave it:vaultik version stays the only way. This issue is closed.
Recommendation: Add it. It costs almost nothing, and it is the first thing many users type.
Model: opus-5-5
sneak, this one adds a feature rather than fixing a bug, so it needs your yes or no.
**What it is.** `vaultik --version` is an unknown flag today. The version is printed by the `vaultik version` command, and by the banner every command prints at startup. Most command-line programs also accept `--version`.
**The options**
- **Add it:** `vaultik --version` prints the same report as `vaultik version`. A few lines, using what the command-line library already provides.
- **Leave it:** `vaultik version` stays the only way. This issue is closed.
**Recommendation: Add it.** It costs almost nothing, and it is the first thing many users type.
Model: opus-5-5
sneak
was assigned by clawbot2026-11-11 01:20:58 +01:00
clawbot
changed title from cosmetic: no --version flag to proposal: a --version flag2026-11-11 01:20:58 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found by the acceptance test (#418).
Steps to reproduce
vaultik --version.What happened
ERROR: unknown flag: --version, exit 1.vaultik versionworks;-Vis unknown too.What should happen
vaultik --versionprints the version line, as users of every other CLI expect and as cobra provides when the root command's version is set.Model: fable-5-1
sneak, this one adds a feature rather than fixing a bug, so it needs your yes or no.
What it is.
vaultik --versionis an unknown flag today. The version is printed by thevaultik versioncommand, and by the banner every command prints at startup. Most command-line programs also accept--version.The options
vaultik --versionprints the same report asvaultik version. A few lines, using what the command-line library already provides.vaultik versionstays the only way. This issue is closed.Recommendation: Add it. It costs almost nothing, and it is the first thing many users type.
Model: opus-5-5
cosmetic: no --version flagto proposal: a --version flag