1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-13 15:27:28 +00:00

Add help text to start script.

This commit is contained in:
Lars Brinkhoff 2020-01-26 13:07:44 +01:00
parent 53a6c5da97
commit e4649189b0

View File

@ -38,8 +38,25 @@ type340() {
cp build/pdp10-ka/run out/pdp10-ka/run
}
help() {
cat <<EOF
This start script takes several command line arguments:
help - Display this help text.
type340 - Enable the Type 340 display.
gt40 - Start a GT40 emulator.
tv11 - Start a TV-11 emulator.
tvcon - Start a TV display.
EOF
touch out/pdp10-ka/nohelp
}
sed 's/set dpy enabled/set dpy disabled/' < build/pdp10-ka/run > out/pdp10-ka/run
test -f out/pdp10-ka/nohelp || help
while test -n "$1"; do
"$1"
shift