aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-build
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-build')
-rwxr-xr-xsrc/cpt-build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpt-build b/src/cpt-build
index d014f28..5f73de8 100755
--- a/src/cpt-build
+++ b/src/cpt-build
@@ -7,9 +7,9 @@ if command -v cpt-lib >/dev/null; then . cpt-lib; else . ./cpt-lib; fi
parser_definition() {
setup REST -- "usage: ${0##*/} [pkg...]"
msg -- '' 'Options:'
- flag CPT_PROMPT -y --no-prompt on:0 -- "Do not prompt for confirmation"
- disp :usage -h --help -- "Show this help message"
- disp :version -v --version -- "Print version information"
+ flag CPT_PROMPT -y --no-prompt on:0 init:"$CPT_PROMPT" -- "Do not prompt for confirmation"
+ disp :usage -h --help -- "Show this help message"
+ disp :version -v --version -- "Print version information"
}
eval "$(getoptions parser_definition parse "$0")"