Aaaaaand I hit the wrong button. Here it is to the list.

----- Forwarded message from William Giokas <wgiokas@wst420> -----
On Thu, Oct 31, 2013 at 07:24:28PM +0100, Ronny Chevalier wrote:
> ---
>  shell-completion/zsh/_systemd-run | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/shell-completion/zsh/_systemd-run 
> b/shell-completion/zsh/_systemd-run
> index 0c81c54..d550f22 100644
> --- a/shell-completion/zsh/_systemd-run
> +++ b/shell-completion/zsh/_systemd-run
> @@ -22,6 +22,8 @@ _arguments \
>          {-h,--help}'[Show help message]' \
>          '--version[Show package version]' \
>          '--user[Run as user unit]' \
> +        {-H+,--host=}'[Operate on remote host]:[user@]host:_hosts' \

Nope. Look at the other -H/--host completions. It should use the
_sd_hosts_or_user_at_host function in the zsh/ directory. (See
_systemctl.)

> +        {-M+,--machine=}'[Operate on local container]:container' \

And look at the _machinectl stuff for getting a list of containers.

>          '--scope[Run this as scope rather than service]' \
>          '--unit=[Run under the specified unit name]:unit name' \
>          '--description=[Description for unit]:description' \
> -- 
> 1.8.4.2
> 
----- End forwarded message -----

Thanks,
-- 
William Giokas | KaiSforza | http://kaictl.net/
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF

Attachment: pgpKk5VUWBTbM.pgp
Description: PGP signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to