diff --git a/shell-completion/zsh/_busctl b/shell-completion/zsh/_busctl index 6fea1bf1b1..777a7ca13d 100644 --- a/shell-completion/zsh/_busctl +++ b/shell-completion/zsh/_busctl @@ -303,7 +303,7 @@ _arguments \ '(-q --quiet)'{-q,--quiet}'[Do not show method call reply]'\ '--verbose[Show result values in long format]' \ '--xml-interface[Dump the XML description in introspect command]' \ - '--json=[Show result values in long format]:format:_busctl_get_json' \ + '--json=[Shows output formatted as JSON]:format:_busctl_get_json' \ '-j[Show pretty json in interactive sessions, short json otherwise]' \ '--expect-reply=[Expect a method call reply]:boolean:(1 0)' \ '--auto-start=[Auto-start destination service]:boolean:(1 0)' \ diff --git a/shell-completion/zsh/_loginctl b/shell-completion/zsh/_loginctl index 6b74ccdd60..c82adb2004 100644 --- a/shell-completion/zsh/_loginctl +++ b/shell-completion/zsh/_loginctl @@ -168,7 +168,9 @@ _arguments -s \ '(- *)'{-h,--help}'[Show help]' \ '(- *)--version[Show package version]' \ '*'{-p+,--property=}'[Show only properties by this name]:unit property' \ + '*-P+[Equivalent to --value --property=NAME]:unit property' \ '(-a --all)'{-a,--all}'[Show all properties, including empty ones]' \ + '--value[When showing properties, only print the value]' \ '--kill-whom=[Whom to send signal to]:killwhom:(main control all)' \ '(-s --signal)'{-s+,--signal=}'[Which signal to send]:signal:_signals' \ '(-H --host)'{-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \ @@ -179,4 +181,6 @@ _arguments -s \ '--no-ask-password[Do not ask for system passwords]' \ '(-n --lines)'{-n+,--lines=}'[Number of journal entries to show]' \ '(-o --output)'{-o+,--output=}'[Change journal output mode]:output modes:_sd_outputmodes' \ + '--json=[Shows output formatted as JSON]:format:(pretty short off)' \ + '-j[Equivalent to --json=pretty on TTY, --json=short otherwise]' \ '*::loginctl command:_loginctl_commands' diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in index 895e35c4a4..234473b303 100644 --- a/shell-completion/zsh/_systemctl.in +++ b/shell-completion/zsh/_systemctl.in @@ -560,6 +560,7 @@ _sys_arguments=( '--failed[Show failed units]' '--timestamp=[Change format of printed timestamps]:style:_systemctl_timestamp' '--when=[Schedule halt/power-off/reboot/kexec action after a certain timestamp]:timestamp:(show cancel auto)' + '--kernel-cmdline[Append to the kernel command line when loading]:cmdline:' '--kernel-cmdline-reuse[Reuse the current kernel command line when loading the kexec kernel]' ) _arguments -s "$_sys_arguments[@]" \ diff --git a/shell-completion/zsh/_systemd-cryptenroll b/shell-completion/zsh/_systemd-cryptenroll index 87b701e231..386a5e6fed 100644 --- a/shell-completion/zsh/_systemd-cryptenroll +++ b/shell-completion/zsh/_systemd-cryptenroll @@ -71,6 +71,7 @@ _arguments -s \ '--tpm2-argon2id-parallelism=[Argon2id parallelism]:threads:' \ '--tpm2-pcrs=[Specify TPM2 PCRs to seal against]:PCRs:' \ '--tpm2-public-key=[Enroll signed TPM2 PCR policy against PEM public key]:public key file:_files' \ + '--tpm2-public-key-policyref=[Enroll signed TPM2 PCR policy with the specified policy reference]:policyref:' \ '--tpm2-public-key-pcrs=[Enroll signed TPM2 PCR policy for specified TPM2 PCRs]:PCRs:' \ '--tpm2-signature=[Validate public key enrollment works with JSON signature file]:signature file:_files' \ '--tpm2-pcrlock=[Specify pcrlock policy to lock against]:pcrlock file:_files' \ diff --git a/shell-completion/zsh/_systemd-tmpfiles b/shell-completion/zsh/_systemd-tmpfiles index 72b9a8759c..75b9dc9d4d 100644 --- a/shell-completion/zsh/_systemd-tmpfiles +++ b/shell-completion/zsh/_systemd-tmpfiles @@ -20,6 +20,7 @@ _arguments \ '--image=[Operate on disk image as filesystem root]:image' \ '--image-policy=[Specify disk image dissection policy]:policy' \ '--replace=[Treat arguments as replacement for PATH]:PATH' \ + '(--cat-config --tldr)--inline[Treat arguments as configuration lines]' '(--cat-config --tldr)'{-n,--dry-run}'[Just print what would be done]' \ '--no-pager[Do not pipe output into a pager]' \ '*::files:_files -g "*.conf"'