mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Make add_help an actual field
This commit is contained in:
@@ -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