Re: [PATCH v2 08/11] tools/kvm_stat: suppress usage information on command line errors

Paolo Bonzini
2017-12-12T15:53:25Z

On 11/12/2017 12:25, Stefan Raspl wrote:
> except:
> - raise optparse.OptionValueError('Error while searching for guest '
> - '"{}", use "-p" to specify a pid '
> - 'instead'.format(val))
> + sys.exit('Error while searching for guest "{}", use "-p" to '
> + 'specify a pid instead'.format(val))

Maybe:

Error while searching for guest "{}". Use "-p" to specify a pid instead?

Thanks,

Paolo