diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-08-05 10:53:04 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-08-06 10:41:56 +0200 |
commit | fc11eb26cee7e3621645dd40cd9de944201f590b (patch) | |
tree | 6068a1a2717cc97e63d07c9ea22be60c97cbae61 /target-ppc | |
parent | 79761c6681f0d1cc1c027116fcb4382d41ed3ece (diff) |
qemu-img: Error out for excess arguments
Don't silently ignore excess arguments at the end of the command line,
but error out instead. This can catch typos like 'resize test.img + 1G',
which doesn't increase the image size by 1G as intended, but truncates
the image to 1G. Even for less dangerous commands, the old behaviour is
confusing.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'target-ppc')
0 files changed, 0 insertions, 0 deletions