completions: footclient: add -E,--client-environment

This commit is contained in:
Daniel Eklöf 2022-04-11 12:31:52 +02:00
parent fd1e5feda4
commit f48955b26e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 3 additions and 0 deletions

View file

@ -14,6 +14,7 @@ _footclient()
"--log-colorize"
"--maximized"
"--override"
"--client-environment"
"--server-socket"
"--term"
"--title"

View file

@ -12,6 +12,7 @@ complete -c footclient -F -s s -l server-socket
complete -c footclient -s H -l hold -d "remain open after child process exits"
complete -c footclient -s N -l no-wait -d "detach the client process from the running terminal, exiting immediately"
complete -c footclient -x -s o -l override -d "configuration option to override, in form SECTION.KEY=VALUE"
complete -c footclient -s E -l client-environment -d "child process inherits footclient's environment, instead of the server's"
complete -c footclient -x -s d -l log-level -a "info warning error none" -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"

View file

@ -15,6 +15,7 @@ _arguments \
'(-H --hold)'{-H,--hold}'[remain open after child process exits]' \
'(-N --no-wait)'{-N,--no-wait}'[detach the client process from the running terminal, exiting immediately]' \
'(-o --override)'{-o,--override}'[configuration option to override, in form SECTION.KEY=VALUE]:()' \
'(-E --client-environment)'{-E,--client-environment}"[child process inherits footclient's environment, instead of the server's]" \
'(-d --log-level)'{-d,--log-level}'[log level (info)]:loglevel:(info warning error none)' \
'(-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]' \