Skip to contentSkip to conversation

Fix description of size parameter in qemu-img's help text

PATCH New Pierre Riteau 1 participant 1 message Nov 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix description of size parameter in qemu-img's help text

Valid description taken from qemu-img.texi, although it would be better to have this information recorded in only one place.

---
 qemu-img.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
qemu-img.c +3 -3
index 972843a..5123f98 100644
@@ -72,9 +72,9 @@ static void help(void)
            "Command parameters:\n"
            "  'filename' is a disk image filename\n"
            "  'fmt' is the disk image format. It is guessed automatically in most cases\n"
-           "  'size' is the disk image size in kilobytes. Optional suffixes\n"
-           "    'M' (megabyte, 1024 * 1024) and 'G' (gigabyte, 1024 * 1024 * 1024) are\n"
-           "    supported any 'k' or 'K' is ignored\n"
+           "  'size' is the disk image size in bytes. Optional suffixes\n"
+           "    'k' or 'K' (kilobyte, 1024), 'M' (megabyte, 1024k), 'G' (gigabyte, 1024M)\n"
+           "    and T (terabyte, 1024G) are supported. 'b' is ignored.\n"
            "  'output_filename' is the destination disk image filename\n"
            "  'output_fmt' is the destination format\n"
            "  'options' is a comma separated list of format specific options in a\n"
Signature · 1 line
1.6.5