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:
parent
53a6c5da97
commit
e4649189b0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user