-
State changed as build TOD-226 (4.3.3) is successful
-
OneDev
changed state to 'Closed' 3 weeks ago
Previous Value Current Value Open
Closed
| Type |
Bug
|
| Priority |
Minor
|
| Assignee | |
| Affected Versions |
4.3.2
|
| Labels |
No labels
|
Issue Votes (0)
Summary
tod versionis a real, working command — it prints the installed version (4.3.2) and has proper--helptext ("Print the tod version") — but it does not appear intod --help's "Available Commands" list, and it's also absent from the bash completion script's command set. It looks unintentionally hidden (e.g. a cobraHidden: trueleft set, or simply left out of the help registration).Impact
There's no discoverable way to check which version of
todis installed.tod --versionandtod -vboth fail as unknown flags, and the top-level help listing doesn't mentionversionat all — so a user has no way to find the command unless they already know its exact name in advance.We ran into this directly while investigating TOD-15: to check whether a reported bug had already been fixed by a newer
todbuild, we had no way to confirm the installed version through the CLI itself, and had to fall back to checking the compiled binary's file modification date and cross-referencing the GitHub releases page.Suggested fix
Un-hide
versionfrom the top-level command list (and from shell completions), so it's discoverable the same way every other subcommand is.