mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Fix whitespace warnings
This commit is contained in:
@@ -2,28 +2,28 @@
|
||||
local Parser = require "argparse"
|
||||
|
||||
local parser = Parser()
|
||||
:description "A testing program. "
|
||||
:description "A testing program."
|
||||
:require_command(false)
|
||||
|
||||
parser:argument "input"
|
||||
|
||||
parser:flag "-v" "--verbose"
|
||||
:description "Sets verbosity level. "
|
||||
:description "Sets verbosity level."
|
||||
:target "verbosity"
|
||||
:count "0-2"
|
||||
|
||||
local install = parser:command "install"
|
||||
:description "Install a rock. "
|
||||
:description "Install a rock."
|
||||
|
||||
install:argument "rock"
|
||||
:description "Name of the rock. "
|
||||
:description "Name of the rock."
|
||||
|
||||
install:argument "version"
|
||||
:description "Version of the rock. "
|
||||
:description "Version of the rock."
|
||||
:args "?"
|
||||
|
||||
install:option "-f" "--from"
|
||||
:description "Fetch the rock from this server. "
|
||||
:description "Fetch the rock from this server."
|
||||
:target "server"
|
||||
|
||||
parser:get_usage()
|
||||
|
Reference in New Issue
Block a user