Searched refs:syntax_error (Results 1 – 1 of 1) sorted by relevance
346 static void syntax_error(const char* fmt, ...) { in syntax_error() function1423 if (args->empty()) syntax_error("expected argument"); in next_arg()1430 if (args->empty()) syntax_error("empty oem command"); in do_oem_command()1730 if (argc == 0 && !wants_wipe && !wants_set_active) syntax_error("no command"); in Main()1837 syntax_error("unknown reboot target %s", what.c_str()); in Main()1841 if (!args.empty()) syntax_error("junk after reboot command"); in Main()1934 syntax_error("missing 'flashing' command"); in Main()1941 syntax_error("unknown 'flashing' command %s", args[0].c_str()); in Main()1961 syntax_error("expected 'wipe' or 'disable'"); in Main()1964 syntax_error("unknown command %s", command.c_str()); in Main()[all …]