Remove 'aliases' property

Allow setting several names using 'name' property instead, e.g.
':name "-f --foo"' instead of ':aliases {"-f", "--foo"}'.

This change breaks documented interface of 0.3.x.
This commit is contained in:
mpeterv
2015-06-09 22:06:32 +03:00
parent 4320f40844
commit 44fd3b3cb8
3 changed files with 14 additions and 19 deletions

View File

@@ -146,7 +146,7 @@ Options:
it("creates correct help message for commands", function()
local parser = Parser "foo"
parser:flag "-q" "--quiet"
parser:flag "-q --quiet"
local run = parser:command "run"
:description "Run! "
run:option "--where"