aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-list
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-list')
-rwxr-xr-xsrc/cpt-list3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpt-list b/src/cpt-list
index cbf8880..aaef8d9 100755
--- a/src/cpt-list
+++ b/src/cpt-list
@@ -4,14 +4,13 @@
if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi
parser_definition() {
- setup REST -- "usage: ${0##*/} [-c] [pkg...]"
+ setup REST help:usage -- "usage: ${0##*/} [-c] [pkg...]"
msg -- '' 'Options:'
flag CURRENT -c --current -- "Use the current directory as a package"
global_options
}
eval "$(getoptions parser_definition parse "$0")"
-eval "$(getoptions_help parser_definition usage)"
parse "$@"
eval set -- "$REST"