# HG changeset patch
# User Peter Meerwald
# Date 1342776510 -7200
# Node ID 7bf4a164d5bb60014e97fd261cc3ff8968569d34
# Parent bbbfb3f97919bd1f4b66d4fabd379bf5604f3dc5
fix bug: long_options have to be zero terminated
diff -r bbbfb3f97919 -r 7bf4a164d5bb main.c
--- a/main.c Fri Jul 20 11:26:24 2012 +0200
+++ b/main.c Fri Jul 20 11:28:30 2012 +0200
@@ -31,7 +31,8 @@
{"keepgoing", 0, 0, 'k'},
{"list", 0, 0, 'l'},
{"replace", 1, 0, 'r'},
- {"version", 0, 0, 'v'}
+ {"version", 0, 0, 'v'},
+ {0, 0, 0, 0}
};
#else /* not HAVE_GETOPT_LONG */