diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-04-25 15:24:56 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-04-25 15:24:56 +0100 |
commit | 93347db1241f8c803c24c6cf615389cb237f0031 (patch) | |
tree | efd0cea0857752dd9778c0f70b9953fa3bfe168a /teal-src/util/error.d.tl | |
parent | 0eef6dde1e3193ec86f949acc114e91c36c5f365 (diff) | |
download | prosody-93347db1241f8c803c24c6cf615389cb237f0031.tar.gz prosody-93347db1241f8c803c24c6cf615389cb237f0031.zip |
util.argparse: Revise 553c6204fe5b with a different approach
The second return value is (not insensibly) assumed to be an error. Instead of
returning a value there in the success case, copy the positional arguments
into the existing opts table.
Diffstat (limited to 'teal-src/util/error.d.tl')
0 files changed, 0 insertions, 0 deletions