Add brackets to argname automatically

Updated aux files
This commit is contained in:
mpeterv
2014-04-24 21:16:06 +04:00
parent f9fd78a5f0
commit d1386c1d96
5 changed files with 25 additions and 24 deletions

View File

@@ -136,7 +136,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>]]=],
@@ -150,7 +150,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>]]=],