src: add NULL to sentinel struct option

This commit is contained in:
Jan Engelhardt
2008-11-18 11:29:57 +01:00
parent 25e2fbdf7d
commit 3c0b26c4b9
4 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ static const struct option portscan_mt_opts[] = {
{.name = "synscan", .has_arg = false, .val = 's'},
{.name = "cnscan", .has_arg = false, .val = 'c'},
{.name = "grscan", .has_arg = false, .val = 'g'},
{},
{NULL},
};
static void portscan_mt_help(void)