Added -h handling to mintty_wrapper (MSYS/Win client)

This commit is contained in:
Russ Magee 2018-07-06 13:29:34 -07:00
parent a3367fc6ae
commit a8a4f1671a
1 changed files with 8 additions and 3 deletions

View File

@ -27,6 +27,11 @@ trap cleanup EXIT ERR
cleanup() {
stty sane
}
stty -echo raw icrnl
./hkexsh $@
if [ ${1}x == "-hx" ]; then
./hkexsh -h
else
stty -echo raw icrnl
./hkexsh $@
fi