Lines Matching defs:command
89 name_ + ": '" + cmd_ + "' is not a valid " + name_ + " command. See '" + name_ + " help'.\n";
340 void AccountCommand::ParseCommandOpt(const std::string &command, ErrCode &result, int &id)
351 result = RunCommandError(command);
357 result = RunAsCommonCommandMissingOptionArgument(command);
509 ErrCode AccountCommand::RunAsCommonCommandMissingOptionArgument(const std::string &command)
515 // 'acm command -i <id>' with no argument: acm command -i
516 // 'acm command --id <id>' with no argument: acm command --id
517 ACCOUNT_LOGD("'acm %{public}s -i' with no argument.", command.c_str());
529 ACCOUNT_LOGD("'acm %{public}s' with an unknown option.", command.c_str());
540 ErrCode AccountCommand::RunCommandError(const std::string &command)
551 // 'acm command' with no option: acm command
552 // 'acm command' with a wrong argument: acm command xxx
553 ACCOUNT_LOGD("'acm %{public}s' with no option.", command.c_str());
649 // 'acm command -h'
650 // 'acm command --help'
651 // command includes stop, switch, deactivate, dump, delete
656 // 'acm command -i <id>'
657 // 'acm command --id <id>
658 // command includes stop, switch, deactivate, dump, delete