cli: capture() allows only 1 connected device

Relax the test for the number of connected devices from 2 to
either 1 or two.