diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-11 18:00:09 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-11 18:00:09 +0000 |
| commit | da7da4cba51a6444d1fce8fc8767f25cbe38b351 (patch) | |
| tree | 753c75d7f159fb82719cad42efd3144070a7f1d7 /completions | |
| parent | Merge branch 'fdm-signal-handling' (diff) | |
| parent | main: client: factor out some common code for "--log-level" option (diff) | |
Merge branch 'log-level'
Closes #337
Diffstat (limited to 'completions')
| -rw-r--r-- | completions/fish/foot.fish | 1 | ||||
| -rw-r--r-- | completions/fish/footclient.fish | 1 | ||||
| -rw-r--r-- | completions/zsh/_foot | 1 | ||||
| -rw-r--r-- | completions/zsh/_footclient | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/completions/fish/foot.fish b/completions/fish/foot.fish index ab59fb75..de31c547 100644 --- a/completions/fish/foot.fish +++ b/completions/fish/foot.fish @@ -13,6 +13,7 @@ complete -c foot -x -s W -l window-size-chars complete -c foot -F -s s -l server -d "run as server; open terminals by running footclient" complete -c foot -s H -l hold -d "remain open after child process exits" complete -c foot -r -s p -l print-pid -d "print PID to this file or FD when up and running (server mode only)" +complete -c foot -x -s d -l log-level -a "info warning error" -d "log-level (info)" complete -c foot -x -s l -l log-colorize -a "always never auto" -d "enable or disable colorization of log output on stderr" complete -c foot -s S -l log-no-syslog -d "disable syslog logging (server mode only)" complete -c foot -s v -l version -d "show the version number and quit" diff --git a/completions/fish/footclient.fish b/completions/fish/footclient.fish index 9ffeeff5..880aaed7 100644 --- a/completions/fish/footclient.fish +++ b/completions/fish/footclient.fish @@ -9,6 +9,7 @@ complete -c footclient -x -s w -l window-size-pixels complete -c footclient -x -s W -l window-size-chars -d "window WIDTHxHEIGHT, in characters (not set)" complete -c footclient -F -s s -l server-socket -d "override the default path to the foot server socket ($XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.sock)" complete -c footclient -s H -l hold -d "remain open after child process exits" +complete -c footclient -x -s d -l log-level -a "info warning error" -d "log-level (info)" complete -c footclient -x -s l -l log-colorize -a "always never auto" -d "enable or disable colorization of log output on stderr" complete -c footclient -s v -l version -d "show the version number and quit" complete -c footclient -s h -l help -d "show help message and quit" diff --git a/completions/zsh/_foot b/completions/zsh/_foot index c6f0f93b..b706ea2d 100644 --- a/completions/zsh/_foot +++ b/completions/zsh/_foot @@ -16,6 +16,7 @@ _arguments \ '(-s --server)'{-s,--server}'[run as server; open terminals by running footclient]:server:_files' \ '(-H --hold)'{-H,--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' \ + '(-d --log-level)'{-d,--log-level}'[log level (info)]:loglevel:(info warning error)' \ '(-l --log-colorize)'{-l,--log-colorize}'[enable or disable colorization of log output on stderr]:logcolor:(never always auto)' \ '(-S --log-no-syslog)'{-s,--log-no-syslog}'[disable syslog logging (server mode only)]' \ '(-v --version)'{-v,--version}'[show the version number and quit]' \ diff --git a/completions/zsh/_footclient b/completions/zsh/_footclient index e355527f..df9b7f25 100644 --- a/completions/zsh/_footclient +++ b/completions/zsh/_footclient @@ -12,6 +12,7 @@ _arguments \ '(-W --window-size-chars)'{-W,--window-size-chars}'[window WIDTHxHEIGHT, in characters (not set)]:size_chars:()' \ '(-s --server-socket)'{-s,--server-socket}'[override the default path to the foot server socket ($XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.sock)]:server:_files' \ '(-H --hold)'{-H,--hold}'[remain open after child process exits]' \ + '(-d --log-level)'{-d,--log-level}'[log level (info)]:loglevel:(info warning error)' \ '(-l --log-colorize)'{-l,--log-colorize}'[enable or disable colorization of log output on stderr]:logcolor:(never always auto)' \ '(-v --version)'{-v,--version}'[show the version number and quit]' \ '(-h --help)'{-h,--help}'[show help message and quit]' \ |
