Skip to content

fix(services): show help for services subcommands instead of running them - #1188

Merged
indaco merged 4 commits into
mainfrom
fix/services-subcommand-help
Oct 9, 2026
Merged

indaco merged 4 commits into
mainfrom
fix/services-subcommand-help

Conversation

@indaco

@indaco indaco commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Description

mt services <sub> --help ran the subcommand instead of showing help, and services list --help created the database as a side effect. Help is now detected anywhere before --, matching bundle.

Unknown service names given to start, stop, restart, logs and status now print no such service: <name> instead of a raw error: ServiceNotFound. Database errors still surface as themselves.

Related Issue

  • None

Notes for Reviewers

  • bundle and restore start services through servicesStart, which skips both the help scan and the new message. restore prints its own warning, so a second one would duplicate it.
  • supervisor.hasService had no production caller left, so it is removed.

@indaco
indaco merged commit 28142ca into main Oct 9, 2026
4 checks passed
@indaco
indaco deleted the fix/services-subcommand-help branch October 9, 2026 18:29
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