mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user