X-Git-Url: https://git.stg.codes/ssmd.git/blobdiff_plain/ae26516a8828d54ab7c0e0bca92031a54a15ed62..6b235fa5a6fd3b514febe5b1328f97df14fb10bc:/src/settings.cpp diff --git a/src/settings.cpp b/src/settings.cpp index 5d04ad2..330a574 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -19,6 +19,7 @@ SettingsParser::SettingsParser() ("info-sync-interval,i", po::value(), "info synchronization interval") ("up-profile-id", po::value(), "switch's upload profile id") ("down-profile-id", po::value(), "switch's download profile id") + ("max-acl-per-pdu", po::value(), "maximum ACL's per PDU") ("data-url", po::value(), "data access URL") ("version,v", "show gssmd version and exit") ; @@ -78,6 +79,10 @@ void SettingsParser::init(int argc, char * argv[]) _settings._downProfileId = vm["down-profile-id"].as(); } + if (vm.count("max-acl-per-pdu")) { + _settings._downProfileId = vm["max-acl-per-pdu"].as(); + } + if (vm.count("data-url")) { _settings._dataURL = vm["data-url"].as(); }