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
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ while(~ $1 -*){
|
|||
eqn=neqn
|
||||
prefer='prefer -n'
|
||||
case -T
|
||||
dev=$1
|
||||
dev=-T$2
|
||||
shift
|
||||
case -*
|
||||
opt=$opt' $1'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue