aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/cpt-build7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cpt-build b/src/cpt-build
index 03a33b7..eaf8849 100755
--- a/src/cpt-build
+++ b/src/cpt-build
@@ -2,9 +2,12 @@
# Build a package
parser_definition() {
- setup REST help:usage -- "usage: ${0##*/} [-tfy] [--root ROOT] [pkg...]"
+ setup REST help:usage -- "usage: ${0##*/} [-dfSty] [--root ROOT] [pkg...]"
msg -- '' 'Options:'
- flag CPT_TEST -t --test export:1 init:@export -- "Run tests (if they exist)"
+ flag CPT_DEBUG -d --debug export:1 init:@export -- "Keep the build directories after operation"
+ flag CPT_TEST -t --test export:1 init:@export -- "Run tests (if they exist)"
+ flag CPT_NOSTRIP -S --nostrip export:1 init:@export -- "Don't strip debug information from the binaries" \
+ "(might want to add '-g' to your '\$CFLAGS')"
global_options
}