mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
really need to drop bash
This commit is contained in:
parent
42b2ab7dac
commit
0dc56dd1bc
1 changed files with 5 additions and 1 deletions
6
styx
6
styx
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in a new issue