diff options
author | merakor <cem@ckyln.com> | 2020-07-24 10:22:26 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-07-24 10:22:26 +0000 |
commit | 68f492eeae576754d6d18d0a2fa45bfa547b1f3c (patch) | |
tree | 24d590820cbd13591624b2f62c4477078f13023e | |
parent | a5742ec0d46f60fcbeec141744a2e35a9e5dd6d5 (diff) | |
download | cpt-68f492eeae576754d6d18d0a2fa45bfa547b1f3c.tar.gz |
cpt: fix argument usage
FossilOrigin-Name: 04c848fd6e2d974fdbee473d0e6518f7e8a9a89d9f8f1102626876d179f63ca3
-rwxr-xr-x | cpt | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,8 +25,8 @@ case "$arg" in --version|-v) version ;; *) - util=$(SEARCH_PATH=$PATH pkg_find "cpt-$1"* "" -x 2>/dev/null) || - die "'cpt $action' is not a valid command" + util=$(SEARCH_PATH=$PATH pkg_find "cpt-$arg"* "" -x 2>/dev/null) || + die "'cpt $arg' is not a valid command" "$util" "$@" ;; |