fix fwupdmgr completion

- fix quoting
This commit is contained in:
Shohei YOSHIDA 2026-03-08 23:03:15 +09:00
parent 002a11fdb7
commit 586a4eb4a8
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 22 additions and 22 deletions

View File

@ -21,27 +21,27 @@ _fwupdmgr() {
_arguments -C \ _arguments -C \
'(- : *)'{-h,--help}'[display help information]' \ '(- : *)'{-h,--help}'[display help information]' \
'(- : *)--version'[display version information]' \ '(- : *)--version[display version information]' \
'{-v,--verbose}'[show extra debugging information]' \ '(-v --verbose)'{-v,--verbose}'[show extra debugging information]' \
--offline'[schedule installation for next reboot when possible]' \ '--offline[schedule installation for next reboot when possible]' \
--allow-reinstall'[allow re-installing existing firmware versions]' \ '--allow-reinstall[allow re-installing existing firmware versions]' \
--allow-older'[allow downgrading firmware versions]' \ '--allow-older[allow downgrading firmware versions]' \
--allow-branch-switch'[allow switching firmware branch]' \ '--allow-branch-switch[allow switching firmware branch]' \
--force'[override warnings and force the action]' \ '--force[override warnings and force the action]' \
'(-y --assume-yes)'{-y,--assume-yes}'[answer yes to all questions]' \ '(-y --assume-yes)'{-y,--assume-yes}'[answer yes to all questions]' \
--sign'[sign the uploaded data with the client certificate]' \ '--sign[sign the uploaded data with the client certificate]' \
--no-unreported-check'[do not check for unreported history]' \ '--no-unreported-check[do not check for unreported history]' \
--no-metadata-check'[do not check for old metadata]' \ '--no-metadata-check[do not check for old metadata]' \
--no-reboot-check'[do not check for reboot after update]' \ '--no-reboot-check[do not check for reboot after update]' \
--no-safety-check'[do not perform device safety checks]' \ '--no-safety-check[do not perform device safety checks]' \
--no-device-prompt'[do not prompt for devices]' \ '--no-device-prompt[do not prompt for devices]' \
--no-history'[do not write to the history database]' \ '--no-history[do not write to the history database]' \
--show-all'[show all results]' \ '--show-all[show all results]' \
--disable-ssl-strict'[ignore SSL strict checks when downloading files]' \ '--disable-ssl-strict[ignore SSL strict checks when downloading files]' \
--ipfs'[only use IPFS when downloading files]' \ '--ipfs[only use IPFS when downloading files]' \
--filter'[filter with a set of device flags using a ~ prefix to exclude]:filter' \ '--filter[filter with a set of device flags using a ~ prefix to exclude]:filter' \
--json'[output in JSON format]' \ '--json[output in JSON format]' \
--no-authenticate'[do not prompt for authentication]' \ '--no-authenticate[do not prompt for authentication]' \
'(-): :->command' \ '(-): :->command' \
'(-)*:: :->arguments' \ '(-)*:: :->arguments' \
&& ret=0 && ret=0