Skip to content

Add short help option for `gdk open|start|restart`

What does this merge request do and why?

Add -h to gdk open. Moves print_help into BaseCommand to process -h, --help in a unified way. Ports gdk start/restart commands to use the new helper.

How to set up and validate locally

  1. Ensure short option works
gdk open -h
gdk restart -h

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Anatoli Babenia

Merge request reports