mirror of
https://github.com/TangentFoxy/argparse.git
synced 2026-03-14 12:46:50 -06:00
Make add_help an actual field
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ describe("tests related to help message generation", function()
|
||||
|
||||
it("uses custom help option", function()
|
||||
local parser = Parser "foo"
|
||||
:add_help {name = "/?"}
|
||||
:add_help "/?"
|
||||
assert.equal(table.concat({
|
||||
"Usage: foo [/?]",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user