oxen-io / lokinet

Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
https://lokinet.org/
GNU General Public License v3.0
1.77k stars 221 forks source link

CLI Fixes #2109

Closed dr7ana closed 1 year ago

dr7ana commented 1 year ago

CLI Flags

Single-letter flags (-v, -h), will sometimes flip CLI::IncorrectConstruction error. Documentation on git and gitbook have conflicting statements as to which of the following is preferable:

cli.add_flag("v,--verbose", options.verbose, "Verbose");

cli.add_flag("-v,--verbose", options.verbose, "Verbose");

The first triggers error, but the second does not. Going forward, the second convention will be followed.

CLI Logic

Fixed error generating .ini configuration files and logic handling

IPC Socket

Fixes: #2057 (pending reproduction)