Added --describe switch, which causes the device to be detected and displays the states but doesn't do anything else.
Named constants for all of the command-line options.