|
@@ -114,7 +114,8 @@ int main(int argc, char *argv[])
|
|
|
{ "test", no_argument, 0, 't' },
|
|
|
{ "status", optional_argument, 0, 's' },
|
|
|
{ "help", no_argument, 0, 'h' },
|
|
|
- { "version", no_argument, 0, 'v' } };
|
|
|
+ { "version", no_argument, 0, 'v' },
|
|
|
+ { NULL, 0, NULL, 0 }, };
|
|
|
static const char *short_options = "dls::r::tvh";
|
|
|
|
|
|
while ((opt = getopt_long(argc, argv, short_options, long_options, 0)) != -1) {
|