Fix accepting config file as positional argument

re-add ability to pass .ini path without --config flag
This commit is contained in:
drouhana 2023-01-10 12:37:18 -08:00 committed by GitHub
parent d1b6ccfbc3
commit a6b2172e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ namespace
cli.add_flag("-f,--force", options.overwrite, "Force writing config even if file exists");
// options: string
cli.add_option("--config", options.configPath, "Path to lokinet.ini configuration file")
cli.add_option("config,--config", options.configPath, "Path to lokinet.ini configuration file")
->capture_default_str();
if constexpr (llarp::platform::is_windows)