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
Show replies by date