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.