|
|
@ -3538,6 +3538,12 @@ parameters.
|
|
|
|
``tonumber(arg)``. If ``arg_name`` is specified, it is used to make error
|
|
|
|
``tonumber(arg)``. If ``arg_name`` is specified, it is used to make error
|
|
|
|
messages more useful.
|
|
|
|
messages more useful.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* ``argparse.boolean(arg, arg_name)``
|
|
|
|
|
|
|
|
Converts ``string.lower(arg)`` from "yes/no/on/off/true/false/etc..." to a lua
|
|
|
|
|
|
|
|
boolean. Throws if the value can't be converted, otherwise returns
|
|
|
|
|
|
|
|
``true``/``false``. If ``arg_name`` is specified, it is used to make error
|
|
|
|
|
|
|
|
messages more useful.
|
|
|
|
|
|
|
|
|
|
|
|
dumper
|
|
|
|
dumper
|
|
|
|
======
|
|
|
|
======
|
|
|
|
|
|
|
|
|
|
|
|