really need to drop bash

This commit is contained in:
Daylin Morgan 2024-01-25 10:53:10 -06:00
parent 42b2ab7dac
commit 0dc56dd1bc
Signed by: daylin
GPG Key ID: C1E52E7DD81DF79F
1 changed files with 5 additions and 1 deletions

6
styx
View File

@ -102,7 +102,7 @@ while [[ $# -gt 0 ]]; do
;;
-h | --host)
HOSTNAME="$2"
shift; shift;
shift;
;;
--help)
help
@ -126,5 +126,9 @@ if [[ $# -gt 0 ]]; then
echo "forwarding args: ${BOLD}$*${RESET}"
fi
if [[ -z ${cmd+x} ]]; then
error "please specify a command"
help
fi
$cmd "$@"