Read channel number from command line.