mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Fixed - being replaced with _ in custom targets
Default argname for options is now default target in brackets
This commit is contained in:
@@ -191,7 +191,7 @@ describe("tests related to usage message generation", function()
|
||||
|
||||
assert.equal(table.concat({
|
||||
"Usage: foo ([-q] | [-v] | [-i]) ([-l] | [-f <from>])",
|
||||
" [--yet-another-option <yet-another-option>]"
|
||||
" [--yet-another-option <yet_another_option>]"
|
||||
}, "\r\n"), parser:get_usage()
|
||||
)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user