From 21fe1db6282cd4d2e23036fde7d00d7cdc772da1 Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Fri, 22 Mar 2024 14:06:39 +0100 Subject: [PATCH] Add the -D/--debug option to shell completions --- res/completions/arch-update.bash | 1 + res/completions/arch-update.fish | 1 + res/completions/arch-update.zsh | 1 + 3 files changed, 3 insertions(+) diff --git a/res/completions/arch-update.bash b/res/completions/arch-update.bash index 516abe1..6244436 100644 --- a/res/completions/arch-update.bash +++ b/res/completions/arch-update.bash @@ -5,6 +5,7 @@ _arch-update() { -l --list -d --devel -n --news + -D --debug -h --help -V --version') diff --git a/res/completions/arch-update.fish b/res/completions/arch-update.fish index 5642bd8..3145868 100644 --- a/res/completions/arch-update.fish +++ b/res/completions/arch-update.fish @@ -4,5 +4,6 @@ complete -c arch-update -s c -l check -d 'Check for available updates' complete -c arch-update -s l -l list -d 'Display the list of pending updates' complete -c arch-update -s d -l devel -d 'Include AUR development packages updates' complete -c arch-update -s n -l news -d 'Display latest Arch news' +complete -c arch-update -s D -l debug -d 'Display debug traces' complete -c arch-update -s h -l help -d 'Display the help message' complete -c arch-update -s V -l version -d 'Display version information' diff --git a/res/completions/arch-update.zsh b/res/completions/arch-update.zsh index d032784..78cfdbc 100644 --- a/res/completions/arch-update.zsh +++ b/res/completions/arch-update.zsh @@ -6,6 +6,7 @@ opts=( {-l,--list}'[Display the list of pending updates]' {-d, --devel}'[Include AUR development packages updates]' {-n,--news}'[Display latest Arch news]' + {-D,--debug}'[Display debug traces]' {-h,--help}'[Display the help message]' {-V,--version}'[Display version information]' )