qemu-img: Deprecate obsolete -6 and -e options
PATCH v2 1/1 qemu-img: Deprecate obsolete -6 and -e options
From: Jes Sorensen <[email protected]>
If -6 or -e is specified, an error message is printed and we exit. It does not print help() to avoid the error message getting lost in the noise.
Signed-off-by Jes Sorensen <[email protected]>
--- block_int.h | 1 - qemu-img.c | 53 ++++++++++++++++++++++------------------------------- 2 files changed, 22 insertions(+), 32 deletions(-)
block_int.h +0 -1
@@ -29,7 +29,6 @@#include "qemu-queue.h" #define BLOCK_FLAG_ENCRYPT 1 -#define BLOCK_FLAG_COMPRESS 2#define BLOCK_FLAG_COMPAT6 4#define BLOCK_OPT_SIZE "size"
qemu-img.c +22 -31
124 lines not on this page · raw message
Signature · 1 line
1.7.3.2
Kevin Wolf
AppliedAm 07.12.2010 17:44, schrieb [email protected]:
Quoted 7 lines
From: Jes Sorensen <[email protected]>
If -6 or -e is specified, an error message is printed and we exit. It does not print
help()to avoid the error message getting lost in the noise.Signed-off-by Jes Sorensen <[email protected]>
Thanks, applied to the block branch.
Kevin