Fix formatting for travis

This commit is contained in:
Marc Di Luzio 2019-05-11 13:06:43 +01:00
parent 598969a538
commit 7f196cdd1a

View File

@ -108,12 +108,13 @@ int main(int argc, char *argv[])
int opt = 0; int opt = 0;
/* Options struct for getopt_long */ /* Options struct for getopt_long */
static struct option long_options[] = { static struct option long_options[] = { { "daemonize", no_argument, 0, 'd' },
{ "daemonize", no_argument, 0, 'd' }, { "log-to-syslog", no_argument, 0, 'l' }, { "log-to-syslog", no_argument, 0, 'l' },
{ "request", optional_argument, 0, 'r' }, { "test", no_argument, 0, 't' }, { "request", optional_argument, 0, 'r' },
{ "status", optional_argument, 0, 's' }, { "help", no_argument, 0, 'h' }, { "test", no_argument, 0, 't' },
{ "version", no_argument, 0, 'v' } { "status", optional_argument, 0, 's' },
}; { "help", no_argument, 0, 'h' },
{ "version", no_argument, 0, 'v' } };
static const char *short_options = "dls::r::tvh"; static const char *short_options = "dls::r::tvh";
while ((opt = getopt_long(argc, argv, short_options, long_options, 0)) != -1) { while ((opt = getopt_long(argc, argv, short_options, long_options, 0)) != -1) {