diff --git a/examples/chip-tool/commands/common/Command.cpp b/examples/chip-tool/commands/common/Command.cpp index 064d7f873381d0..a7d0058b90624d 100644 --- a/examples/chip-tool/commands/common/Command.cpp +++ b/examples/chip-tool/commands/common/Command.cpp @@ -389,7 +389,7 @@ size_t Command::AddArgument(const char * name, const char * value, bool optional size_t Command::AddArgument(const char * name, char ** value, bool optional) { Argument arg; - arg.type = ArgumentType::CharString; + arg.type = ArgumentType::String; arg.name = name; arg.value = reinterpret_cast(value); arg.optional = optional;