Re: s6-svc, s6-rc zsh completion

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Tue, 24 May 2016 11:07:24 +0200

On 24/05/2016 03:57, Eric Vidal wrote:
> s6-svc -u -t500 /service
> or i need to write
> s6-svc -u -t 500 /service
>
> s6-rc -u -v2 -t500 -n0 change service
> or i need to write
> s6-rc -u -v 2 -t 500 -n 0 change service

  Those forms are all valid. It's a POSIX getopt requirement:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/getopt.html

  So you can either put a space between the option and its argument,
or omit the space; both will work.
  Which will probably make completion more difficult to program. :)
  
-- 
  Laurent
Received on Tue May 24 2016 - 09:07:24 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC