display usage */
| 43 | |
| 44 | /* display usage */ |
| 45 | static void |
| 46 | vdpa_usage(const char *prgname) |
| 47 | { |
| 48 | printf("Usage: %s [EAL options] -- " |
| 49 | " --interactive|-i: run in interactive mode.\n" |
| 50 | " --iface <path>: specify the path prefix of the socket files, e.g. /tmp/vhost-user-.\n" |
| 51 | " --client: register a vhost-user socket as client mode.\n", |
| 52 | prgname); |
| 53 | } |
| 54 | |
| 55 | static int |
| 56 | parse_args(int argc, char **argv) |