mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 23:25:33 +00:00
Swap out ancient getopt for a newer one and address review feedback.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user