Swap out ancient getopt for a newer one and address review feedback.

This commit is contained in:
ecotarobles
2020-09-23 11:22:51 +03:00
parent 9a622a5e44
commit ac8e02604d
7 changed files with 1099 additions and 3371 deletions

View File

@ -54,7 +54,7 @@ void confirmOnStdout(bool echoed, string id, string type, int length);
string randomId(size_t length);
int main(int argc, char **argv) {
Cmdline *params;
Cmdline *params = nullptr;
try {
params = new Cmdline(argc, argv);
} catch (const std::range_error&e) {