Implemented options --device and --list.