diff --git a/libshvcore/src/utils/clioptions.cpp b/libshvcore/src/utils/clioptions.cpp index 41cbaecfb..728478f45 100644 --- a/libshvcore/src/utils/clioptions.cpp +++ b/libshvcore/src/utils/clioptions.cpp @@ -477,8 +477,8 @@ void CLIOptions::addParseError(const std::string& err) ConfigCLIOptions::ConfigCLIOptions() { - addOption("config").setType(RpcValue::Type::String).setNames("--config").setComment("Application config name, it is loaded from {config}[.conf] if file exists in {config-dir}, deault value is {app-name}.conf"); - addOption("configDir").setType(RpcValue::Type::String).setNames("--config-dir").setComment("Directory where application config fiels are searched, default value: {app-dir-path}."); + addOption("config").setType(RpcValue::Type::String).setNames("--config").setComment("Application config name, it is loaded from {config}[.conf] if file exists in {config-dir}, default value is {app-name}.conf"); + addOption("configDir").setType(RpcValue::Type::String).setNames("--config-dir").setComment("Directory where application config fields are searched, default value: {app-dir-path}."); } void ConfigCLIOptions::parse(const StringList &cmd_line_args) diff --git a/libshvcoreqt/src/utils/clioptions.cpp b/libshvcoreqt/src/utils/clioptions.cpp index 503a0f886..58212a817 100644 --- a/libshvcoreqt/src/utils/clioptions.cpp +++ b/libshvcoreqt/src/utils/clioptions.cpp @@ -395,8 +395,8 @@ chainpack::RpcValue CLIOptions::qVariantToRpcValue(const QVariant &v) ConfigCLIOptions::ConfigCLIOptions(QObject *parent) : Super(parent) { - addOption("config").setType(QMetaType::Type::QString).setNames("--config").setComment("Application config name, it is loaded from {config}[.conf] if file exists in {config-dir}, deault value is {app-name}.conf"); - addOption("configDir").setType(QMetaType::QString).setNames("--config-dir").setComment("Directory where application config fiels are searched, default value: {app-dir-path}."); + addOption("config").setType(QMetaType::Type::QString).setNames("--config").setComment("Application config name, it is loaded from {config}[.conf] if file exists in {config-dir}, default value is {app-name}.conf"); + addOption("configDir").setType(QMetaType::QString).setNames("--config-dir").setComment("Directory where application config fields are searched, default value: {app-dir-path}."); } void ConfigCLIOptions::parse(const QStringList &cmd_line_args) diff --git a/libshviotqt/src/rpc/clientappclioptions.cpp b/libshviotqt/src/rpc/clientappclioptions.cpp index 1049fb3d7..95e30ac55 100644 --- a/libshviotqt/src/rpc/clientappclioptions.cpp +++ b/libshviotqt/src/rpc/clientappclioptions.cpp @@ -17,7 +17,7 @@ ClientAppCliOptions::ClientAppCliOptions() addOption("server.peerVerify").setType(cp::RpcValue::Type::Bool).setNames("--peer-verify").setComment("Verify peer's identity when establishing secured connection").setDefaultValue(true); addOption("rpc.rpcTimeout").setType(cp::RpcValue::Type::Int).setNames("--rto", "--rpc-time-out").setComment("Set default RPC calls timeout [sec].").setDefaultValue(shv::chainpack::RpcDriver::defaultRpcTimeoutMsec() / 1000); - addOption("rpc.reconnectInterval").setType(cp::RpcValue::Type::Int).setNames("--rci", "--rpc-reconnect-interval").setComment("Reconnect to broker if connection lost at least after recoonect-interval seconds. Disabled when set to 0").setDefaultValue(10); + addOption("rpc.reconnectInterval").setType(cp::RpcValue::Type::Int).setNames("--rci", "--rpc-reconnect-interval").setComment("Reconnect to broker if connection lost at least after reconnect-interval seconds. Disabled when set to 0").setDefaultValue(10); addOption("rpc.heartbeatInterval").setType(cp::RpcValue::Type::Int).setNames("--hbi", "--rpc-heartbeat-interval").setComment("Send heart beat to broker every n sec. Disabled when set to 0").setDefaultValue(60); }