snapcraft close example recommends non-existant flag
Metadata
Current evaluation
Fixed `snapcraft close` help text to remove the invalid `--channel` flag, now correctly displaying `snapcraft close my-snap beta`.
Resolution: closed resolved
Reason: The issue was resolved by updating the help output for the `close` command to remove the non-existent `--channel` flag, as confirmed by the maintainer's comment showing the corrected example.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Running `snapcraft close help` it gives this example:
$ snapcraft close --help
Usage:
snapcraft close [options] <name> <channel>
...
Examples:
snapcraft close my-snap --channel beta
However, it does not support a `--channel` flag, and the example is incorrect.
Following the example gives a failure:
$ snapcraft close juju --channel 2.4/stable
Usage: snapcraft [options] command [args]...
Try 'snapcraft close -h' for help.
Error: unrecognized arguments: --channel
$ snapcraft --version
snapcraft 7.0.7
(all it really needs is to remove the `--channel` from the example command)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | closed resolved | Fixed `snapcraft close` help text to remove the invalid `--channel` flag, now correctly displaying `snapcraft close my-snap beta`. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Fixed `snapcraft close` help text to remove the invalid `--channel` flag, now correctly displaying `snapcraft close my-snap beta`. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Fixed `snapcraft close` help text to remove the invalid `--channel` flag, now correctly displaying `snapcraft close my-snap beta`. | |
| stealth/space-bunny-alpha |
Impact:
18
Quick Win:
17
Complexity:
2
Confidence:
94
Actionability:
95
|
close resolved | Documentation bug: `snapcraft close --help` example used a nonexistent `--channel` flag, causing 'unrecognized arguments' errors. Fixed by commit 76cc75885, which corrected the example to `snapcraft close my-snap beta`. | |
| stealth/space-bunny-alpha |
Impact:
25
Quick Win:
24
Complexity:
3
Confidence:
99
Actionability:
98
|
close resolved | The snapcraft close help incorrectly used --channel; commit 76cc75885 fixed the example, and current source retains the positional form. | |
| stealth/space-bunny-alpha |
Impact:
20
Quick Win:
18
Complexity:
5
Confidence:
99
Actionability:
95
|
close resolved | The `snapcraft close` help example incorrectly used `--channel`; current source and commit 76cc75885 show it fixed to the positional form `snapcraft close my-snap beta`. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
10
Quick Win:
10
Staleness:
85
Complexity:
5
Confidence:
55
Support Request:
0
|
close stale | Help text example for 'snapcraft close' incorrectly includes --channel flag that doesn't exist. Issue is 4 years old with no activity for 2 years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
5
Confidence:
75
Support Request:
10
|
needs triage | Documentation example for snapcraft close incorrectly includes a non-existent --channel flag, causing command failures. Unlabelled and unacknowledged by maintainers. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
5
Confidence:
90
Support Request:
0
|
needs triage | Reports incorrect --channel flag in snapcraft close help example. Unlabeled, no maintainer response, inactive for over two years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
5
Confidence:
85
Support Request:
10
|
needs triage | Reports incorrect --channel flag in snapcraft close help example. Issue is unlabelled, has no maintainer comments, and is over 4 years old. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5768 docs: fix example for `snapcraft close` (Fixes #5737) | snapcraft | merged | Docs-only PR merged: `snapcraft close` overview example corrected from --channel usage to positional syntax (`snapcraft close my-snap beta`) in commit 76cc75885, closing #5737. | |
| #5737 Incorrect help text for `close` | snapcraft | closed | Fixed in canonical/snapcraft#5768 (commit 76cc75885): the close help example now uses the positional channel argument instead of a nonexistent --channel option. |