Skip to content

Commit

Permalink
doc: update example
Browse files Browse the repository at this point in the history
Signed-off-by: He Xian <[email protected]>
  • Loading branch information
hexian000 committed Dec 1, 2024
1 parent afc7cc8 commit 03747eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/gen_biglist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ local function parse_list(filename)
end

function main(args)
assert(args[1] and args[2] and args[3], "3 arguments required")
local cidr = parse_cidr(args[1])
local cidr6 = parse_cidr(args[2])
local domain, host, regex = parse_list(args[3])
Expand Down

0 comments on commit 03747eb

Please sign in to comment.