Skip to content

fix(cli): use --name flag in gateway destroy hint messages#363

Closed
drew wants to merge 0 commit intomainfrom
fix-gateway-destroy-hint-syntax/an
Closed

fix(cli): use --name flag in gateway destroy hint messages#363
drew wants to merge 0 commit intomainfrom
fix-gateway-destroy-hint-syntax/an

Conversation

@drew
Copy link
Collaborator

@drew drew commented Mar 16, 2026

Summary

Fix invalid gateway destroy commands in error hint messages. The --name flag was missing, causing the gateway name to be treated as an unexpected positional argument.

Related Issue

N/A — discovered by running the suggested command from the "gateway not reachable" error message.

Changes

  • Added --name flag to all openshell gateway destroy hint messages across openshell-bootstrap and openshell-cli
  • Affected 8 hint messages in 3 files: errors.rs (7), lib.rs (1), run.rs (1)

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@drew drew self-assigned this Mar 16, 2026
@github-actions
Copy link

github-actions bot commented Mar 16, 2026

All contributors have signed the DCO ✍️ ✅
Posted by the DCO Assistant Lite bot.

@drew drew closed this Mar 16, 2026
@drew drew force-pushed the fix-gateway-destroy-hint-syntax/an branch from 001211a to c1195be Compare March 16, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant