int call_command_handler(int argc, char * const * const argv)
{
COMMANDS
- return -E_INVALID_COMMAND;
+ DSS_EMERG_LOG("BUG: did not find command handler\n");
+ exit(EXIT_FAILURE);
}
#undef COMMAND
#undef COMMANDS
#define DSS_ERRORS \
DSS_ERROR(SUCCESS, "success") \
DSS_ERROR(SYNTAX, "syntax error") \
- DSS_ERROR(INVALID_COMMAND, "invalid command") \
DSS_ERROR(ATOI_OVERFLOW, "value too large") \
DSS_ERROR(STRTOLL, "unknown strtoll error") \
DSS_ERROR(ATOI_NO_DIGITS, "no digits found in string") \