mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
main: add -p,--print-pid=FILE|FD
When specified, print our PID to the file, or FD, after everything has started up.
This commit is contained in:
parent
ef98df1a95
commit
d4755d94b0
3 changed files with 69 additions and 6 deletions
|
@ -6,4 +6,5 @@ _arguments \
|
|||
'(-h --help)'{-h,--help}'[show help message and quit]' \
|
||||
'(-b --backend)'{-b,--backend}'[backend to use (default: auto)]:backend:(xcb wayland auto)' \
|
||||
'(-c --config)'{-c,--config}'[alternative configuration file]:filename:_files' \
|
||||
'(-C --validate)'{-C,--validate}'[verify configuration then quit]'
|
||||
'(-C --validate)'{-C,--validate}'[verify configuration then quit]' \
|
||||
'(-p --print-pid)'{-p,--print-pid}'[print PID to this file or FD when up and running]:pidfile:_files'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue