mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Merge remote-tracking branch 'luarocks/refs/pull/4/head'
This commit is contained in:
@@ -7,15 +7,6 @@ describe("tests related to help message generation", function()
|
||||
assert.equal([[
|
||||
Usage: foo [-h]
|
||||
|
||||
Options:
|
||||
-h, --help Show this help message and exit.]], parser:get_help())
|
||||
end)
|
||||
|
||||
it("does not create extra help options when :prepare is called several times", function()
|
||||
local parser = Parser "foo"
|
||||
assert.equal([[
|
||||
Usage: foo [-h]
|
||||
|
||||
Options:
|
||||
-h, --help Show this help message and exit.]], parser:get_help())
|
||||
end)
|
||||
|
Reference in New Issue
Block a user