net/vhost: move to vhost library statistics API
[dpdk.git] / app / test-pmd / testpmd.c
index 99f2a31..fc1b64b 100644 (file)
@@ -4364,6 +4364,10 @@ main(int argc, char** argv)
        }
 #endif
 #ifdef RTE_LIB_CMDLINE
+       if (init_cmdline() != 0)
+               rte_exit(EXIT_FAILURE,
+                       "Could not initialise cmdline context.\n");
+
        if (strlen(cmdline_filename) != 0)
                cmdline_read_from_file(cmdline_filename);