Revert autoadding of <> to custom argnames

This commit is contained in:
mpeterv
2014-08-06 13:33:50 +04:00
parent 4b97d03bf5
commit 8c16eca398
2 changed files with 6 additions and 6 deletions

View File

@@ -137,7 +137,7 @@ describe("tests related to usage message generation", function()
:add_help(false)
parser:argument "inputs"
:args "1-2"
:argname "input"
:argname "<input>"
assert.equal(
[=[Usage: foo <input> [<input>]]=],
@@ -151,7 +151,7 @@ describe("tests related to usage message generation", function()
parser:option "--pair"
:args(2)
:count "*"
:argname{"key", "value"}
:argname{"<key>", "<value>"}
assert.equal(
[=[Usage: foo [--pair <key> <value>]]=],