From 00d76784f42408bdf46a8b1e753536f033fd9e08 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 5 Feb 2020 19:53:50 +0100 Subject: main: add --print-pid=FILE|FD When specified, our PID is written to the specified file (or FD), after we've successfully started up. Only applicable in server mode. --- completions/zsh/_foot | 1 + 1 file changed, 1 insertion(+) (limited to 'completions') diff --git a/completions/zsh/_foot b/completions/zsh/_foot index 8fbec2bd..3b068f7f 100644 --- a/completions/zsh/_foot +++ b/completions/zsh/_foot @@ -8,6 +8,7 @@ _arguments \ '(-g --geometry)'{-g,--geometry}'[window WIDTHxHEIGHT, in pixels (80x24 cells)]:geometry:()' \ '(-s --server)'{-s,--server}'[run as server; open terminals by running footclient]:server:_files' \ '--hold[remain open after child process exits]' \ + '(-p --print-pid)'{-p,--print-pid}'[print PID to this file or FD when up and running (server mode only)]:pidfile:_files' \ '(-v --version)'{-v,--version}'[show the version number and quit]' \ '(-h --help)'{-h,--help}'[show help message and quit]' -- cgit v1.3