[Feature request] add debug-hook as alias for debug-hooks

Continuing the discussion from Debugging charm hooks:

Feature request:

Can you add juju debug-hook X Y as an alias for juju debug-hooks X Y?

If Y is specified, only one hook will be debugged, so it’s unintuitive to use the plural.

(For comparison, kubectl get pod and kubectl get pods both do the same thing)

1 Like

@mdavistelstra Hi, this has landed[1] in snap 2.6 edge channel. Let me know if you have any issues with this.

  1. https://github.com/juju/juju/pull/10089
2 Likes