shell-completion: systemctl: do not list template units in {re,}start
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 11 Jun 2018 15:35:23 +0000 (16:35 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 11 Jun 2018 16:15:12 +0000 (17:15 +0100)
commit9b536b1af2730de61c21dbe0522fd40547b0468b
treef6e4ad2fb638116e3abfc357325ed2930fefca9d
parent98476dc8b23d3ac7cb7e818a066f519c888ef8ac
shell-completion: systemctl: do not list template units in {re,}start

Template units lacking DefaultInstance cannot be enabled/disabled or
started/restarted.

By adding DefaultInstance the unit can be enabled/disabled but it
still cannot be started/restarted.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
shell-completion/bash/systemctl.in
shell-completion/zsh/_systemctl.in