aboutsummaryrefslogtreecommitdiffstats
path: root/util/argparse.lua
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.11->trunkKim Alvefur2021-10-121-1/+1
|
* util.argparse: Move exiting and error to util.startupKim Alvefur2020-06-171-5/+2
| | | | | | | | It's not so nice to have a library that exits the entire application from under you, so this and the error reporting belongs in util.startup. The argparse code was originally in util.startup but moved out in 1196f1e8d178 but the error handling should have stayed.
* util.startup: Break out command line argument parsing into util.argparseKim Alvefur2020-02-191-0/+58
This will allow using it from other places such as prosodyctl sub-commands and plugins