[arch-projects] [devtools] [PATCH 4/4] zsh-completion: update for new makerepropkg options

Eli Schwartz eschwartz at archlinux.org
Thu Jan 2 17:24:45 UTC 2020


Thanks to anthraxx for the guidance.

Original-patch-by: Levente Polyak <anthraxx at archlinux.org>
Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
---
 zsh_completion.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/zsh_completion.in b/zsh_completion.in
index a1225aa..e59bc3a 100644
--- a/zsh_completion.in
+++ b/zsh_completion.in
@@ -94,10 +94,11 @@ _offload_build_args=(
 )
 
 _makerepropkg_args=(
+	'-d[Run diffoscope if the package is unreproducible]'
 	'-c[Set pacman cache]:pacman_cache:_files -/'
 	'-M[Location of a makepkg config file]:makepkg_config:_files -g "*.conf(.)"'
 	'-h[Display usage]'
-	'1:working_dir:_files -g "*.pkg.tar.*(.)"'
+	'*:working_dir:_files -g "*.pkg.tar.*(.)"'
 )
 
 _devtools_completions_all_packages() {
-- 
2.24.1


More information about the arch-projects mailing list