Snapcraft should respond to "help", "version", "-v", "--version"
Metadata
Current evaluation
Implemented help and --version handling; later PRs #1366 and #1746 expanded version support.
Resolution: closed resolved
Reason: The maintainer confirmed that help and --version worked at closure. Later work in PRs #1366 and #1746 expanded version handling, although no single closing PR was documented.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Just playing with the snapcraft command, it would be good to handle:
snapcraft help -> equivalent to snapcraft -h
snapcraft version -> print a useful version number and prompt to "snapcraft help"
snapcraft -v -> same as snapcraft version
Launchpad Details: [#LP1501222](https://bugs.launchpad.net/bugs/1501222) Mark Shuttleworth - 2015-09-30 05:26:49 -0300
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Implemented help and --version handling; later PRs #1366 and #1746 expanded version support. | |
| stealth/space-bunny-alpha | — | closed stale | Help and --version worked at closure, but -v and the version subcommand remained unsupported. Later PRs #1366 and #1746 expanded version handling; no closing resolution was documented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without documented resolution. Help flags worked, but -v, --version, and the version subcommand remained unrecognized. The feature request appears abandoned or resolved externally. | |
| qwen/qwen3.6-35b-a3b | — | — | The request was partially addressed as --version and help variants already function. The maintainer confirmed -v and the version subcommand remain unsupported. The issue was closed without further implementation. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. Help flags work, but version, -v, and --version support was never added. The request was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Requested CLI support for help, version, -v, and --version. The issue was closed after --help and --version were confirmed working, with -v and the version subcommand implemented to match standard conventions. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#1366
(confidence 85%)
Later work expanded version handling.
-
Likely Fixed By:
canonical/snapcraft#1746
(confidence 85%)
Later work expanded version handling.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1501222 Snapcraft should respond to "help", "version", "-v", "--version" | snapcraft (launchpad) | closed | Snapcraft 0.4 shipped help, -h, --help and --version handling; the bare version subcommand and -v alias were not supported. | |
| #1590349 snapcraft should have a 'version' command | snapcraft (launchpad) | closed | Added the version subcommand via snapcore/snapcraft PR #1746 (commit 0820103ae); the change was merged and released in Snapcraft 2.40. | |
| #1699 snapcraft <help> command | snapcraft | closed | Feature request by maintainer sergiusens to add a `snapcraft help <command>` sub-command. Resolved by merged PR #1845, commit cf20b3593 ("cli: implement help <command> (#1845)"), which added command-specific help support. |