cli: fix usage string in help command
Metadata
Current evaluation
Merged a one-line CLI fix so `snapcraft help` displays the correct usage string.
Resolution: closed resolved
Reason: PR #2429 was merged into master as commit ab1034621, correcting the help command's usage string.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
LP: https://bugs.launchpad.net/snapcraft/+bug/1745040
Forum: https://forum.snapcraft.io/t/snapcraft-help-command-showing-wrong-usage/9045?u=felicianotech
P.S. The last two items in the checklist above, aren't documented well in the HACKING guide and don't even pass on master.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged a one-line CLI fix so `snapcraft help` displays the correct usage string. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2429 fixed the incorrect Snapcraft help-command usage string in commit ab1034621. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2429 (commit ab1034621) fixed the incorrect usage string shown by the Snapcraft help command. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a one-line fix that corrected an incorrect usage string in the CLI help command. The change was approved, passed CI checks, and resolved the reported bug. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix correcting the CLI help command usage string. The patch addresses Launchpad bug #1745040, submitted by external contributor FelicianoTech. Codecov reported 100% diff coverage, and the changes were successfully integrated into the main branch. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1789 cli: improve the help command | snapcraft | merged | Merged PR #1789 in commit e66b29d84, giving snapcraft help parity with --help and exposing topic and plugin help; it resolved snapcraft#1698. | |
| #1845 cli: implement help <command> | snapcraft | merged | PR #1845 (commit cf20b3593) by sergiusens merged command-specific help support, adding `snapcraft help <command>` to the CLI and closing feature request #1699. | |
| #3682 cli: fix help command legacy fallback | snapcraft | merged | Merged #3682 as commit 468051ea5, handling craft-cli's ProvideHelpException so legacy help prints the same message as --help and exits successfully. | |
| #1986645 Some snapcraft 7.x commands have irrelevant "help" info | snapcraft (launchpad) | closed | Fixed in Snapcraft 8 by command-group help refactoring merged in canonical/snapcraft#4934 (commit 6a388877f). | |
| #113 fix: #112 and help messages | rockcraft | merged | Merged in PR #113 (commit 116f6f41), moving init out of lifecycle commands and correcting help text inherited from snapcraft; closes #112. | |
| #3917 commands: make help message consistent | snapcraft | merged | Merged PR #3917 in commit f47ab5c5b, standardizing CLI help so name, snap-name, and snap_name consistently describe the same snap concept. | |
| #1582506 --help needs some love | snapcraft (launchpad) | closed | Resolved by snapcore/snapcraft#1307 (commit d34dc16af), replacing docopt with Click and adding clearer per-subcommand help and option summaries. | |
| #5169 snapcraft help fails on many commands | snapcraft | closed | Fixed by merged PR #5178 (commit f97d032bf), adding missing help text for positional args; maintainer closed the issue noting the fix ships in snapcraft 8.5.1. | |
| #769 Minor fixes for typos in --help | snapcraft | merged | Merged PR snapcraft#769 as commit ff179c675, fixing two typos in `snapcraft --help` output ("remotes"→"remote" and a missing heading colon). Closes Launchpad bug LP #1599727. |