Fixed - being replaced with _ in custom targets

Default argname for options is now default target in brackets
This commit is contained in:
mpeterv
2014-08-25 13:44:26 +04:00
parent 6e02b89b9b
commit b02536d6ba
2 changed files with 9 additions and 9 deletions

View File

@@ -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)