aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-build
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-build')
-rwxr-xr-xsrc/cpt-build8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cpt-build b/src/cpt-build
index 90c865e..389c824 100755
--- a/src/cpt-build
+++ b/src/cpt-build
@@ -4,15 +4,13 @@
if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi
parser_definition() {
- setup REST -- "usage: ${0##*/} [pkg...]"
+ setup REST help:usage -- "usage: ${0##*/} [pkg...]"
msg -- '' 'Options:'
- flag CPT_TEST -t --test export:1 init:="$CPT_TEST" -- \
- "Run tests (if they exist)"
+ flag CPT_TEST -t --test export:1 init:@export -- "Run tests (if they exist)"
global_options
}
-eval "$(getoptions parser_definition parse "$0")"
-eval "$(getoptions_help parser_definition usage "$0")"
+eval "$(getoptions parser_definition parse "$0")"
parse "$@"
eval set -- "$REST"