summaryrefslogtreecommitdiff
path: root/net:foret
diff options
context:
space:
mode:
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