fix -T option for doctype

We used to set $dev to -T, and leave the device type
in the argument list. Now, we set it to -T$2, and shift
it out of the list.
front
Ori Bernstein 2020-03-10 09:35:06 -07:00
parent fc90f7a666
commit 06ea44c895
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ while(~ $1 -*){
eqn=neqn
prefer='prefer -n'
case -T
dev=$1
dev=-T$2
shift
case -*
opt=$opt' $1'
}