Add command line option to specify device.