aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-search
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-search')
-rwxr-xr-xsrc/cpt-search7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cpt-search b/src/cpt-search
index 41d96fb..9252da7 100755
--- a/src/cpt-search
+++ b/src/cpt-search
@@ -4,14 +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 all -s --single init:=1 on:'' -- "Only show the first instance of a package"
+ flag all -s --single init:=1 on:'' -- "Only show the first instance of a package"
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"