0.7.1 release

This commit is contained in:
daurnimator
2020-07-08 11:17:13 +10:00
parent 3144e8518a
commit 27967d7b52
3 changed files with 14 additions and 4 deletions

View File

@@ -1,5 +1,15 @@
# Changelog # Changelog
## 0.7.1 (2020-07-08)
Tested with Lua 5.4
### New features
* Hidden aliases can be added to an option or command by setting the
`hidden_name` property
## 0.7.0 (2019-08-14) ## 0.7.0 (2019-08-14)
The repository has been moved to a [new location](https://github.com/luarocks/argparse). The repository has been moved to a [new location](https://github.com/luarocks/argparse).

View File

@@ -51,9 +51,9 @@ copyright = u'2013-2018 Peter Melnichenko; 2019 Paul Ouellette'
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = '0.7.0' version = '0.7.1'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '0.7.0' release = '0.7.1'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
@@ -116,7 +116,7 @@ if os.environ.get('READTHEDOCS', None) != 'True':
# The name for this set of Sphinx documents. If None, it defaults to # The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation". # "<project> v<release> documentation".
html_title = "argparse 0.7.0 tutorial" html_title = "argparse " + version + " tutorial"
# A shorter title for the navigation bar. Default is the same as html_title. # A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None #html_short_title = None

View File

@@ -2091,7 +2091,7 @@ end
local argparse = {} local argparse = {}
argparse.version = "0.7.0" argparse.version = "0.7.1"
setmetatable(argparse, {__call = function(_, ...) setmetatable(argparse, {__call = function(_, ...)
return Parser(default_cmdline[0]):add_help(true)(...) return Parser(default_cmdline[0]):add_help(true)(...)