Searched refs:syntax_error (Results 1 – 1 of 1) sorted by relevance
371 static void syntax_error(const char* fmt, ...) { in syntax_error() function1664 if (args->empty()) syntax_error("expected argument"); in next_arg()1671 if (args->empty()) syntax_error("empty oem command"); in do_oem_command()2036 if (argc == 0 && !wants_wipe && !wants_set_active) syntax_error("no command"); in Main()2144 syntax_error("unknown reboot target %s", what.c_str()); in Main()2148 if (!args.empty()) syntax_error("junk after reboot command"); in Main()2241 syntax_error("missing 'flashing' command"); in Main()2248 syntax_error("unknown 'flashing' command %s", args[0].c_str()); in Main()2268 syntax_error("expected 'wipe' or 'disable'"); in Main()2284 syntax_error("expected: snapshot-update [cancel|merge]"); in Main()[all …]