← Back to issue list

cli: fix usage string in help command

View original Github issue

Metadata

Project
snapcraft
Number
#2429
Type
pull request
State
merged
Author
FelicianoTech
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged fix correcting the CLI help command usage string. Resolves Launchpad bug #1745040. Contributor FelicianoTech delivered a 100% diff-coverage change that restores accurate usage output.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4065 cli: fix help message for the "upload" command snapcraft merged Merged a one-line fix correcting a copy-paste error in the upload command help message. Approved by two reviewers, passed CI checks, and closed.
79%
#1789 cli: improve the help command snapcraft merged Improved the CLI help command to match --help parity and expose hidden topics and plugin help. Merged after reviewer approval and passing CI, modifying three files with 62 additions and 11 deletions.
74%
#3682 cli: fix help command legacy fallback snapcraft merged Merged fix for the CLI help command legacy fallback. Handles craft-cli's ProvideHelpException to standardize help output. Approved, passed CI, and achieved 100% diff coverage before merging into the 7.0 branch.
74%
#84 fix(cli): enable per-command help queries craft-application merged Merged to main, enabling per-command help queries in the CLI and resolving issue #76. Approved by two reviewers, passed CI checks, and achieved 100% diff coverage across three files.
73%
#306 feat: remove code backticks in CLI help messages craft-cli merged Merged following approval by two reviewers and successful CI checks. The update removes code backticks from CLI help messages, closes #303. Changes affect two files with 90 additions and zero deletions.
71%
#1640 cli: add what, why, and how to fix to the common errors snapcraft merged Merged pull request adding what, why, and how to fix guidance to common CLI error messages. Approved by two reviewers, modified 15 files (+484/-155 lines), and passed CI after a temporary test failure was rerun.
70%