mirror of
https://github.com/troglobit/finit.git
synced 2026-11-20 19:41:51 +00:00
initctl: fix missing '--no-heading' longopt in getopt()
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
d1afc705ab
commit
815454c065
1 file changed
+5
-5
+5
-5
@@ -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]);
|
||||||
|
|||||||
Reference in new issue
Block a user