mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Make add_help_command a Parser method
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#!/usr/bin/env lua
|
||||
|
||||
local Parser = require "argparse"
|
||||
|
||||
local parser = Parser()
|
||||
:description "A testing program."
|
||||
:add_help_command(true)
|
||||
:add_help_command()
|
||||
:require_command(false)
|
||||
|
||||
parser:argument "input"
|
||||
|
Reference in New Issue
Block a user