diff --git a/src/config.c b/src/config.c index 35b9522..e866a3f 100644 --- a/src/config.c +++ b/src/config.c @@ -110,6 +110,8 @@ void get_action (char *event, int *action) *action = NEXT_TASK; else if (strcmp (event, "prev_task") == 0) *action = PREV_TASK; + else + fprintf(stderr, "Error: unrecognized action '%s'. Please fix your config file.\n", event); }