Skip to content

Commit 6f47d1f

Browse files
committed
Fix console script
1 parent 769fc0f commit 6f47d1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

console.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
host=localhost
44
port=5000
@@ -8,7 +8,7 @@ disconnectOnHalt=true
88
sendRequest=true
99

1010
while [[ "$1" =~ ^- && ! "$1" == "--" ]]; do case $1 in
11-
h | --host )
11+
-h | --host )
1212
shift; host=$1
1313
;;
1414
-p | --port )

0 commit comments

Comments
 (0)