aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-update
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-update')
-rwxr-xr-xsrc/cpt-update5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cpt-update b/src/cpt-update
index 8bc29f2..4b2e7bd 100755
--- a/src/cpt-update
+++ b/src/cpt-update
@@ -8,10 +8,7 @@ parser_definition() {
msg -- '' 'Options:'
flag download_only -d --download -- "Only download updatable packages"
flag CPT_FETCH -n --no-fetch on:0 off:0 init:="$CPT_FETCH" -- "Do not refresh the repositories"
- flag CPT_PROMPT -y --no-prompt on:0 off:0 init:="$CPT_PROMPT" -- "Do not prompt for confirmation"
- param CPT_ROOT --root init:="$CPT_ROOT" -- "Use an alternate root directory"
- disp :usage -h --help -- "Show this help message"
- disp :version -v --version -- "Print version information"
+ global_options
}
eval "$(getoptions parser_definition parse "$0")"