Lines Matching refs:errorSyntax

66         return errorSyntax(USAGE_REGISTERVM, "Incorrect number of parameters");
127 return errorSyntax(USAGE_UNREGISTERVM, "Invalid parameter '%s'", ValueUnion.psz);
134 return errorSyntax(USAGE_UNREGISTERVM, "Invalid option -%c", c);
136 return errorSyntax(USAGE_UNREGISTERVM, "Invalid option case %i", c);
139 return errorSyntax(USAGE_UNREGISTERVM, "unknown option: %s\n", ValueUnion.psz);
141 return errorSyntax(USAGE_UNREGISTERVM, "%s: %Rrs", ValueUnion.pDef->pszLong, c);
143 return errorSyntax(USAGE_UNREGISTERVM, "error: %Rrs", c);
149 return errorSyntax(USAGE_UNREGISTERVM, "VM name required");
251 return errorSyntax(USAGE_CREATEVM, "Parameter --name is required");
418 return errorSyntax(USAGE_CLONEVM, "Invalid parameter '%s'", ValueUnion.psz);
428 return errorSyntax(USAGE_CLONEVM, "VM name required");
550 return errorSyntax(USAGE_STARTVM, "Invalid option -%c", c);
552 return errorSyntax(USAGE_STARTVM, "Invalid option case %i", c);
555 return errorSyntax(USAGE_STARTVM, "unknown option: %s\n", ValueUnion.psz);
557 return errorSyntax(USAGE_STARTVM, "%s: %Rrs", ValueUnion.pDef->pszLong, c);
559 return errorSyntax(USAGE_STARTVM, "error: %Rrs", c);
565 return errorSyntax(USAGE_STARTVM, "at least one VM name or uuid required");
639 return errorSyntax(USAGE_DISCARDSTATE, "Incorrect number of parameters");
668 return errorSyntax(USAGE_ADOPTSTATE, "Incorrect number of parameters");
705 return errorSyntax(USAGE_GETEXTRADATA, "Incorrect number of parameters");
784 return errorSyntax(USAGE_SETEXTRADATA, "Not enough parameters");
797 return errorSyntax(USAGE_SETEXTRADATA, "Too many parameters");
819 return errorSyntax(USAGE_SETEXTRADATA, "Too many parameters");
831 return errorSyntax(USAGE_SETPROPERTY, "Incorrect number of parameters");
909 return errorSyntax(USAGE_SETPROPERTY, "Invalid parameter '%s'", a->argv[0]);
920 return errorSyntax(USAGE_SHAREDFOLDER, "Not enough parameters");
932 return errorSyntax(USAGE_SHAREDFOLDER_ADD, "Not enough parameters");
974 return errorSyntax(USAGE_SHAREDFOLDER_ADD, "Invalid parameter '%s'", Utf8Str(a->argv[i]).c_str());
978 return errorSyntax(USAGE_SHAREDFOLDER_ADD, "No spaces allowed in parameter '-name'!");
983 return errorSyntax(USAGE_SHAREDFOLDER_ADD, "Parameters --name and --hostpath are required");
1028 return errorSyntax(USAGE_SHAREDFOLDER_REMOVE, "Not enough parameters");
1049 return errorSyntax(USAGE_SHAREDFOLDER_REMOVE, "Invalid parameter '%s'", Utf8Str(a->argv[i]).c_str());
1054 return errorSyntax(USAGE_SHAREDFOLDER_REMOVE, "Parameter --name is required");
1090 return errorSyntax(USAGE_SHAREDFOLDER, "Invalid parameter '%s'", Utf8Str(a->argv[0]).c_str());
1098 return errorSyntax(USAGE_EXTPACK, "Incorrect number of parameters");
1129 return errorSyntax(USAGE_EXTPACK, "Too many extension pack names given to \"extpack uninstall\"");
1138 return errorSyntax(USAGE_EXTPACK, "No extension pack name was given to \"extpack install\"");
1178 return errorSyntax(USAGE_EXTPACK, "Too many extension pack names given to \"extpack uninstall\"");
1187 return errorSyntax(USAGE_EXTPACK, "No extension pack name was given to \"extpack uninstall\"");
1200 return errorSyntax(USAGE_EXTPACK, "Too many parameters given to \"extpack cleanup\"");
1206 return errorSyntax(USAGE_EXTPACK, "Unknown command \"%s\"", a->argv[0]);