Home | History | Annotate | Download | only in Common

Lines Matching refs:Command

236 // static const char *kUserErrorMessage  = "Incorrect command line";

240 // static const char *kIncorrectWildcardInCommandLine = "Incorrect wildcard in command line";
297 static bool ParseArchiveCommand(const UString &commandString, CArcCommand &command)
308 command.CommandType = (NCommandType::EEnum)index;
313 command.CommandType = (NCommandType::kRename);
360 throw CArcCmdLineException("Unsupported rename command:", val);
448 const char *k_IncorrectMapCommand = "Incorrect Map command";
670 static bool ParseUpdateCommandString2(const UString &command,
673 for (unsigned i = 0; i < command.Len();)
675 wchar_t c = MyCharLower_Ascii(command[i]);
679 postString = command.Ptr(i);
683 if (i >= command.Len())
685 c = command[i];
702 const char *errorMessage = "incorrect update switch command";
959 throw CArcCmdLineException("The command must be spcified");
961 if (!ParseArchiveCommand(nonSwitchStrings[kCommandIndex], options.Command))
962 throw CArcCmdLineException("Unsupported command:", nonSwitchStrings[kCommandIndex]);
1017 options.Command.CommandType != NCommandType::kBenchmark &&
1018 options.Command.CommandType != NCommandType::kInfo &&
1019 options.Command.CommandType != NCommandType::kHash;
1021 bool isExtractGroupCommand = options.Command.IsFromExtractGroup();
1022 bool isExtractOrList = isExtractGroupCommand || options.Command.CommandType == NCommandType::kList;
1023 bool isRename = options.Command.CommandType == NCommandType::kRename;
1107 throw CArcCmdLineException("Cannot use absolute pathnames for this command");
1167 eo.PathMode = options.Command.GetPathMode();
1179 else if (options.Command.IsFromUpdateGroup())
1182 throw CArcCmdLineException("-ai switch is not supported for this command");
1186 SetAddCommandOptions(options.Command.CommandType, parser, updateOptions);
1225 if (options.Command.CommandType == NCommandType::kRename)
1227 throw CArcCmdLineException("Only one archive can be created with rename command");
1229 else if (options.Command.CommandType == NCommandType::kBenchmark)
1239 else if (options.Command.CommandType == NCommandType::kHash)
1252 else if (options.Command.CommandType == NCommandType::kInfo)