minor change in validation of command line options

Signed-off-by: Javier Vazquez <javier@vazquez.ch>