initctl: fix missing '--no-heading' longopt in getopt()

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-02-11 16:16:07 +01:00
1 parent d1afc705ab
commit 815454c065
1 file changed
+5 -5
+5 -5
View File
@@ -663,11 +663,11 @@ int main(int argc, char *argv[])
{ NULL, NULL } { NULL, NULL }
}; };
struct option long_options[] = { struct option long_options[] = {
{"batch", 0, NULL, 'b'}, { "batch", 0, NULL, 'b' },
{"help", 0, NULL, 'h'}, { "help", 0, NULL, 'h' },
{"debug", 0, NULL, 'd'}, { "no-heading", 0, NULL, 't' },
{"verbose", 0, NULL, 'v'}, { "verbose", 0, NULL, 'v' },
{NULL, 0, NULL, 0} { NULL, 0, NULL, 0 }
}; };
progname(argv[0]); progname(argv[0]);