added autostart feature

This commit is contained in:
AlexandreRouma
2022-04-07 15:55:22 +02:00
parent 747b6bfbc6
commit 663dd8d887
3 changed files with 9 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ void CommandArgsParser::defineAll() {
define('p', "port", "Server mode port", 5259);
define('r', "root", "Root directory, where all config files are stored", std::filesystem::absolute(root).string());
define('s', "server", "Run in server mode");
define('\0', "autostart", "Automatically start the SDR after loading");
}
int CommandArgsParser::parse(int argc, char* argv[]) {