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