Richard W.M. Jones
2016-Jul-18 16:40 UTC
[Libguestfs] [PATCH] format: Remove unimplemented virt-format -c, -d and -q options.
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
Seemingly Similar Threads
- [PATCH] static const char *str -> static const char str
- [PATCH] fish, fuse: Remove bogus '?' from short options.
- [PATCH 1/1] virt-make-fs: add '--blocksize' option support
- [PATCH v2] virt-make-fs: add '--blocksize' option support
- [PATCH] edit: add -m option