1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-17 10:20:55 +01:00
zsh/Completion/Rpm/_rpm_build
1999-08-30 10:08:13 +00:00

16 lines
403 B
Text

#autoload
local args
if [[ "$1" = -b ]]; then
args='*:RPM package:_rpm_package'
else
args='*:tar file:_files -g \*.\(\#i\)tar\(.\*\|\)'
fi
_rpm_arguments \
--{short-circuit,clean,rmsource,sign,test} \
'--buildroot:build root directory:_files -/' \
'--buildarch:architecture for which to build:' \
'--buildos:ositecture for which to build:' \
'--timecheck:time check (seconds):' "$args"