Update Client.cpp

This commit is contained in:
李扬 2022-03-01 19:29:59 +08:00 committed by GitHub
parent 7a182f1390
commit f2ce7cbc8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1279,7 +1279,7 @@ void Client::readArguments(
else
{
in_external_group = false;
if (arg == "--file"sv || arg == "--name"sv || arg == "--format"sv || arg == "--structure"sv || arg == "--types"sv)
if (arg == "--file"sv || arg == "--name"sv || arg == "--structure"sv || arg == "--types"sv)
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Parameter must be in external group, try add --external before {}", arg);
/// Parameter arg after underline.