[Libguestfs] [PATCH] format: Remove unimplemented virt-format -c, -d and -q options.

Richard W.M. Jones rjones at redhat.com
Mon Jul 18 16:40:16 UTC 2016


These options just give errors because they appear in the short
options list but not in the case statement.
---
 format/format.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/format/format.c b/format/format.c
index 5026aff..2dbaa4d 100644
--- a/format/format.c
+++ b/format/format.c
@@ -104,7 +104,7 @@ main (int argc, char *argv[])
 
   enum { HELP_OPTION = CHAR_MAX + 1 };
 
-  static const char *options = "a:c:d:qvVx";
+  static const char *options = "a:vVx";
   static const struct option long_options[] = {
     { "add", 1, 0, 'a' },
     { "filesystem", 1, 0, 0 },
-- 
2.7.4




More information about the Libguestfs mailing list