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.
This commit is contained in:
parent
fc90f7a666
commit
06ea44c895
|
@ -13,7 +13,8 @@ while(~ $1 -*){
|
||||||
eqn=neqn
|
eqn=neqn
|
||||||
prefer='prefer -n'
|
prefer='prefer -n'
|
||||||
case -T
|
case -T
|
||||||
dev=$1
|
dev=-T$2
|
||||||
|
shift
|
||||||
case -*
|
case -*
|
||||||
opt=$opt' $1'
|
opt=$opt' $1'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue