Fail if detecting an unknown option
commitef87394c08f348c95dc831e2e45c488f6466172d
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 6 Dec 2010 14:25:40 +0000 (6 15:25 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 14 Dec 2010 14:44:21 +0000 (14 15:44 +0100)
treef0ec41796c8f8e77d9ea25a6c4558459e16d188e
parentb8fb60da2d27ad52593bea4ee5fb33a2644ebaa6
Fail if detecting an unknown option

This patch changes qemu-img to exit if an unknown option is detected,
instead of trying to continue with a set of arguments which may be
incorrect.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c