summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2004-04-26 13:47:07 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2004-04-26 13:47:07 +0000
commitd4cc68878c8fbd200ab3212bb46c836f5e12b767 (patch)
treec571e1346963031125e46c3a0db892ba0f0486a0
parent817b5a142c85a094079692b457c743db05ab0e27 (diff)
downloadzsh-d4cc68878c8fbd200ab3212bb46c836f5e12b767.tar.gz
zsh-d4cc68878c8fbd200ab3212bb46c836f5e12b767.zip
unposted: aap short and long options are mutually exclusive
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_aap32
2 files changed, 22 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c48d3129..820965873 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-26 Doug Kearns <djkea2@mugca.its.monash.edu.au>
+
+ * unposted: Completion/Unix/Command/_aap: short and long options
+ are mutually exclusive
+
2004-04-23 Peter Stephenson <pws@csr.com>
* 19825: Completion/Unix/Command/_perforce: suggested by Michael
@@ -65,7 +70,7 @@
2004-04-17 Doug Kearns <djkea2@mugca.its.monash.edu.au>
* 19775: Completion/Unix/Command/_php: new completion for php
- * unposted: Completion/Unix/Commmand/_elinks: declare and initialise
+ * unposted: Completion/Unix/Command/_elinks: declare and initialise
return value parameter
2004-04-15 Peter Stephenson <pws@csr.com>
diff --git a/Completion/Unix/Command/_aap b/Completion/Unix/Command/_aap
index 1e0ddd51f..6ba065d62 100644
--- a/Completion/Unix/Command/_aap
+++ b/Completion/Unix/Command/_aap
@@ -8,26 +8,26 @@ typeset -A opt_args
_arguments \
'(- *)'{-V,--version}'[print version information and exit]' \
'(- *)'{-h,--help}'[print help information and exit]' \
- {-v,--verbose}'[print more information]' \
- {-s,--silent}'[print less information]' \
- {-d,--debug=}'[debug the specified items]:flags:' \
+ '(-v --verbose)'{-v,--verbose}'[print more information]' \
+ '(-s --silent)'{-s,--silent}'[print less information]' \
+ '(-d --debug)'{-d,--debug=}'[debug the specified items]:flags:' \
'--profile=[profile A-A-P execution and write results in specified file]:output file:_files' \
- {-n,--nobuild}'[print the build commands but do not execute them]' \
+ '(-n --nobuild)'{-n,--nobuild}'[print the build commands but do not execute them]' \
'--changed=[consider specified file changed]:changed file:_files' \
- {-t,--touch}'[update target signatures, do not build]' \
- {-F,--force}'[force rebuilding]' \
- {-C,--contents}'[only build when file contents changed]' \
+ '(-t --touch)'{-t,--touch}'[update target signatures, do not build]' \
+ '(-F --force)'{-F,--force}'[force rebuilding]' \
+ '(-C --contents)'{-C,--contents}'[only build when file contents changed]' \
\*{-c,--command=}'[execute a command after reading the recipe]:aap command:' \
- {-k,--continue}'[continue building after an error]' \
- {-S,--stop}'[stop building at first error (default)]' \
- {-R,--fetch-recipe}'[fetch recipe file and child recipes]' \
- {-N,--nofetch-recipe}'[do not fetch recipes for "fetch" target]' \
- {-a,--nocache}"[always download files, don't use the cache]" \
- {-l,--local}'[do not recurse into subdirectories]' \
- {-j,--jobs=}'[maximum number of parallel jobs]:number of jobs:' \
- {-u,--search-up,--up}'[search directory tree upwards for main.aap recipe]' \
+ '(-k --continue)'{-k,--continue}'[continue building after an error]' \
+ '(-S --stop)'{-S,--stop}'[stop building at first error (default)]' \
+ '(-R --fetch-recipe)'{-R,--fetch-recipe}'[fetch recipe file and child recipes]' \
+ '(-N --nofetch-recipe)'{-N,--nofetch-recipe}'[do not fetch recipes for "fetch" target]' \
+ '(-a --nocache)'{-a,--nocache}"[always download files, don't use the cache]" \
+ '(-l --local)'{-l,--local}'[do not recurse into subdirectories]' \
+ '(-j --jobs)'{-j,--jobs=}'[maximum number of parallel jobs]:number of jobs:' \
+ '(-u --search-up --up)'{-u,--search-up,--up}'[search directory tree upwards for main.aap recipe]' \
\*{-I,--include=}'[directory to search for included recipes]:include directory:_files -/' \
- {-f,--recipe=}'[recipe file to be executed]:recipe file:_files -g \*.aap\(-.\)' \
+ '(-f --recipe)'{-f,--recipe=}'[recipe file to be executed]:recipe file:_files -g \*.aap\(-.\)' \
'--install=[install specified package]:package name:' \
'--[end of options, targets and assignments follow]' \
'*:aap target:->target' && ret=0