summaryrefslogtreecommitdiff
path: root/net:foret
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2012-06-08 18:26:35 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2012-06-08 18:26:35 +0200
commit10ec0d8102a3189a3cefd565586bc4e226d41157 (patch)
tree0063f67e163da2c57c2f7de0b543656959855efb /net:foret
parent898d035e4c3f8539c7b21e65381f3d2bc6d8c748 (diff)
[Completion] Q : better sdk-factory managment.
Diffstat (limited to 'net:foret')
-rw-r--r--net:foret/completion/_sdk-factory.sh25
1 files changed, 21 insertions, 4 deletions
diff --git a/net:foret/completion/_sdk-factory.sh b/net:foret/completion/_sdk-factory.sh
index 53f1cca..d3face0 100644
--- a/net:foret/completion/_sdk-factory.sh
+++ b/net:foret/completion/_sdk-factory.sh
@@ -1,7 +1,24 @@
#compdef sdk-factory.sh
-_arguments -A "-*" -- \
- "=FILE*:file:_files"\
- "{-c,--config}:file:_files"\
- "*:targets:($([ -n "\$TARGET" ] && for i in "" "-PLUGIN" "-APPSDK" "-PERF" ; echo \$TARGET$i))"
+local arguments
+
+arguments=(
+ '(-s)'{-a,--enable-all-protocols}'[Enable all protocols]'
+ {-c+,--config=}'[Selects config FILE to use]:file:_files'
+ {-d,--debug-make}'[Add debugging verbosity to make]'
+ '(-p)'{-f,--framework-only}'[Generates only the framework libraries]'
+ '(-f)'{-p,--protocols-only}'[Generates only the protocols bundle libraries]'
+ {-g,--enable-debug-info}'[Enable debug info in binaries]'
+ {-h,--enable-host}'[Enable host binaries building]'
+ {-n,--nomake}'[No make done]'
+ {-s,--enable-specific-protocols}'[Enable specific protocols]'
+ {-v,--verbose}'[Enable verbose compilation]'
+ '1:targets:(($([ -n "$TARGET" ] && for i in "\:Standard_SDK"\
+ "-PLUGIN\:Plugin_SDK"\
+ "-APPSDK\:Advanced_Plugin_SDK"\
+ "-PERF\:Performance_tests" ;\
+ echo $TARGET$i)))'
+ )
+
+_arguments -s $arguments