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

Stefan Raspl
2017-12-12T18:09:19Z

On 12.12.2017 16:53, Paolo Bonzini wrote:
> 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?

Yeah - 2 short sentences instead of a single longer one...why not?

Ciao,
Stefan