xbps: update xbps-src completions

there were a bunch of missing flags
This commit is contained in:
classabbyamp 2024-02-10 01:49:13 -05:00 committed by classabbyamp
parent b3c54d73af
commit 4f5cd2251a
2 changed files with 32 additions and 3 deletions

View file

@ -1,14 +1,43 @@
--- a/data/_xbps_src --- a/data/_xbps_src
+++ b/data/_xbps_src +++ b/data/_xbps_src
@@ -26,6 +26,7 @@ @@ -25,25 +25,35 @@
compadd "$@" -- ${${dirs:t}%-*}
} }
_arguments -s : \ _arguments -s : \
+ '-1[Fail if dependencies are missing]' \
+ '-A[Host architecture]:architecture:($archs)' \ + '-A[Host architecture]:architecture:($archs)' \
'-a[Cross compile packages]:architecture:($archs)' \ '-a[Cross compile packages]:architecture:($archs)' \
+ '-b[Build broken, nocross, and excluded packages]' \
+ '-c[Configuration file]:config: ' \
'-C[Do not remove build directory/autodeps/destdir]' \ '-C[Do not remove build directory/autodeps/destdir]' \
'-E[Exit immediately when binary package already exists]' \ '-E[Exit immediately when binary package already exists]' \
@@ -64,9 +65,7 @@ '-f[Force building and registering binary packages]' \
'-G[Enable XBPS_USE_GIT_REVS]' \
- '-Q[Enable running the check stage]' \
'-g[Enable building -dbg packages]' \
'-H[Absolute path to hostdir]:hostdir:_files -/' \
'-h[Help]' \
'-I[Ignore required dependencies]' \
+ '-i[Make internal errors non-fatal]' \
'-j[Number of parallel build jobs]:number: ' \
+ '-K[Enable extended checks]' \
'-L[Disable ASCII colors]' \
'-m[Absolute path to masterdir]:masterdir:_files -/' \
'-N[Disable use of remote repositories]' \
+ '-p[Show additional variables]:variables: ' \
'-o[Set package build options]:options: ' \
+ '-Q[Enable running the check stage]' \
'-q[Suppress output of xbps-src]' \
'-r[Use alternative local repository]:repo:_files -/' \
+ '-s[Make some warnings errors]' \
'-t[Create a temporary masterdir]' \
+ '-v[Show verbose messages]' \
+ '-V[Print version]' \
'1:target:->target' \
'*::args:->args' && ret=0
@@ -64,9 +80,7 @@
case $words[1] in case $words[1] in
build|check|configure|extract|fetch|install|patch|pkg|show|show-avail|show-build-deps|show-hostmakedepends|show-makedepends|show-options|update-check) build|check|configure|extract|fetch|install|patch|pkg|show|show-avail|show-build-deps|show-hostmakedepends|show-makedepends|show-options|update-check)
_arguments ':package:_xbps_src_all_packages' && ret=0;; _arguments ':package:_xbps_src_all_packages' && ret=0;;

View file

@ -1,7 +1,7 @@
# Template file for 'xbps' # Template file for 'xbps'
pkgname=xbps pkgname=xbps
version=0.59.2 version=0.59.2
revision=2 revision=3
bootstrap=yes bootstrap=yes
build_style=configure build_style=configure
short_desc="XBPS package system utilities" short_desc="XBPS package system utilities"