mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Custom target should not affect usage and help message generation
This commit is contained in:
@@ -36,7 +36,7 @@ describe("tests related to usage message generation", function()
|
||||
parser:option "--config"
|
||||
|
||||
assert.equal(
|
||||
[=[Usage: foo [-q] --from <server> [--config <config>]]=],
|
||||
[=[Usage: foo [-q] --from <from> [--config <config>]]=],
|
||||
parser:get_usage()
|
||||
)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user