]> git.baikalelectronics.ru Git - kernel.git/commit
tools/kvm_stat: stop ignoring unhandled arguments
authorStefan Raspl <stefan.raspl@de.ibm.com>
Mon, 11 Dec 2017 11:25:27 +0000 (12:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:25:46 +0000 (09:25 +0100)
commit18812821b4e1ead8d8e88754812b7e3d0774a3a7
treee0d3e50c7854e9d77dcd5da69aebfbc88a40a4a1
parent90b076d569aaaa3fd70f6ddc43e885ac14c46f6f
tools/kvm_stat: stop ignoring unhandled arguments

Unhandled arguments, which could easily include typos, are simply
ignored. We should be strict to avoid undetected typos.
To reproduce start kvm_stat with an extra argument, e.g.
'kvm_stat -d bnuh5ol' and note that this will actually work.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/kvm/kvm_stat/kvm_stat