diff options
author | merakor <cem@ckyln.com> | 2020-10-31 12:17:53 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-10-31 12:17:53 +0000 |
commit | 3591d3541eb9d79dd23de43995be0e8c05d83213 (patch) | |
tree | ca88a0e5dad1ce6c50b0f4634e685010cef0eb82 /src/cpt-install | |
parent | b68bc7228a97daf54ac8a6bfa1f7961d7e7dc212 (diff) | |
download | cpt-3591d3541eb9d79dd23de43995be0e8c05d83213.tar.gz |
src: update parser definitions
FossilOrigin-Name: 8f46944f81271ff851a5d21bfbaa21ad86f8cf120ef22bf8f9a64ecd3f339eb3
Diffstat (limited to 'src/cpt-install')
-rwxr-xr-x | src/cpt-install | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cpt-install b/src/cpt-install index 082d9d1..4dadcda 100755 --- a/src/cpt-install +++ b/src/cpt-install @@ -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 CPT_FORCE -f --force init:="$CPT_FORCE" -- "Force installation" + flag CPT_FORCE -f --force init:@export -- "Force installation" 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" |