← Back to issue list

docs: fix example for `snapcraft close` (Fixes #5737)

View original Github issue

Metadata

Project
snapcraft
Number
#5768
Type
pull request
State
merged
Author
Amanlem
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: PR #5768 was approved by 2 reviewers and merged as commit 76cc75885 ('docs: fix example for snapcraft close'), a +1/-1 change to StoreCloseCommand.overview in snapcraft/commands/manage.py, which now reads 'snapcraft close my-snap beta'; this closed issue #5737.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The help text used `--channel` but `<channel>` is positional. Update example to: snapcraft close my-snap beta Fixes #5737

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved Merged docs fix updating the `snapcraft close` example in snapcraft/commands/manage.py to positional syntax (snapcraft close my-snap beta) instead of the nonexistent --channel flag. Commit 76cc75885 closes #5737.
stealth/space-bunny-alpha — closed resolved Merged docs-only PR #5768 (commit 76cc75885) fixed the `snapcraft close` help example in snapcraft/commands/manage.py, replacing a nonexistent --channel flag with positional syntax 'snapcraft close my-snap beta'; closes #5737.
stealth/space-bunny-alpha — closed resolved Merged docs fix corrected the snapcraft close example to use a positional channel (snapcraft close my-snap beta), closing #5737 in commit 76cc75885.
stealth/space-bunny-alpha — closed resolved Merged documentation fix corrected the snapcraft close example to use positional beta instead of --channel, resolving #5737 in commit 76cc75885.
qwen/qwen3.6-35b-a3b — — Merged a documentation update for the snapcraft close command. The example was corrected to use the positional channel argument instead of the --channel flag, resolving issue #5737. Approved by reviewers and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged documentation update correcting the snapcraft close command example. The positional channel argument replaced the incorrect --channel flag, resolving issue #5737.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#5737 (confidence 97%)

    Issue reporting the incorrect `close` help text; closed by this PR via 'Fixes #5737'

Related issues

Issue Project State Summary Similarity
#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.
80%
#1980155 snapcraft close example recommends non-existant flag snapcraft (launchpad) closed Fixed `snapcraft close` help text to remove the invalid `--channel` flag, now correctly displaying `snapcraft close my-snap beta`.
79%