diff --git a/src/cli/cli_dns.cpp b/src/cli/cli_dns.cpp index 5148bb36b..9e36e2751 100644 --- a/src/cli/cli_dns.cpp +++ b/src/cli/cli_dns.cpp @@ -94,7 +94,7 @@ template <> otError Dns::Process(Arg aArgs[]) { bool enable; - SuccessOrExit(error = Interpreter::ParseEnableOrDisable(aArgs[0], enable)); + SuccessOrExit(error = ParseEnableOrDisable(aArgs[0], enable)); otDnsSetNameCompressionEnabled(enable); } diff --git a/src/cli/cli_srp_client.cpp b/src/cli/cli_srp_client.cpp index a5301f390..e26951fe1 100644 --- a/src/cli/cli_srp_client.cpp +++ b/src/cli/cli_srp_client.cpp @@ -89,7 +89,7 @@ template <> otError SrpClient::Process(Arg aArgs[]) ExitNow(); } - SuccessOrExit(error = Interpreter::ParseEnableOrDisable(aArgs[0], enable)); + SuccessOrExit(error = ParseEnableOrDisable(aArgs[0], enable)); /** * @cli srp client autostart enable @@ -173,7 +173,7 @@ template <> otError SrpClient::Process(Arg aArgs[]) ExitNow(); } - error = Interpreter::ParseEnableOrDisable(aArgs[0], mCallbackEnabled); + error = ParseEnableOrDisable(aArgs[0], mCallbackEnabled); exit: return error; diff --git a/src/cli/cli_udp.cpp b/src/cli/cli_udp.cpp index 299be12ef..b4c77fe3f 100644 --- a/src/cli/cli_udp.cpp +++ b/src/cli/cli_udp.cpp @@ -360,7 +360,7 @@ template <> otError UdpExample::Process(Arg aArgs[]) */ else { - error = Interpreter::ParseEnableOrDisable(aArgs[0], mLinkSecurityEnabled); + error = ParseEnableOrDisable(aArgs[0], mLinkSecurityEnabled); } return error;