diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-04-25 15:09:41 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-04-25 15:09:41 +0100 |
commit | 0eef6dde1e3193ec86f949acc114e91c36c5f365 (patch) | |
tree | 972c44dc9a35f08500eb9dabb406623804601c51 /spec/util_argparse_spec.lua | |
parent | f86d1517ce1c6ad3eeebcfb9f57d3689f6f9e943 (diff) | |
download | prosody-0eef6dde1e3193ec86f949acc114e91c36c5f365.tar.gz prosody-0eef6dde1e3193ec86f949acc114e91c36c5f365.zip |
util.argparse: Return final 'arg' table with positional arguments for convenience
This is the same as the input table (which is mutated during processing), but
if that table was created on the fly, such as by packing `...` it's convenient
if it also gets returned from the parse function.
Diffstat (limited to 'spec/util_argparse_spec.lua')
0 files changed, 0 insertions, 0 deletions