[devtools,4/4] zsh-completion: update for new makerepropkg options

Message ID 20200102172445.409532-1-eschwartz@archlinux.org
State Accepted
Headers show
Series None | expand

Commit Message

Emil Velikov via arch-projects Jan. 2, 2020, 5:24 p.m. UTC
Thanks to anthraxx for the guidance.

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

Patch

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() {