lttng: list valid condition / action names if missing or unknown
[lttng-tools.git] / src / bin / lttng / commands / list_triggers.c
index f64bd27e963bcaf666dafc5410de5cf118de9896..da94f7e9881120e59168190eb1a64cf7abf2d774 100644 (file)
@@ -1336,8 +1336,9 @@ int cmd_list_triggers(int argc, const char **argv)
                enum parse_next_item_status status;
 
                status = parse_next_item(argpar_iter, &argpar_item, 1, argv,
-                       true, NULL);
-               if (status == PARSE_NEXT_ITEM_STATUS_ERROR) {
+                       true, NULL, NULL);
+               if (status == PARSE_NEXT_ITEM_STATUS_ERROR ||
+                               status == PARSE_NEXT_ITEM_STATUS_ERROR_MEMORY) {
                        goto error;
                } else if (status == PARSE_NEXT_ITEM_STATUS_END) {
                        break;
This page took 0.024131 seconds and 4 git commands to generate.