| 3 | #include "ff_ipc.h" |
| 4 | |
| 5 | void |
| 6 | usage(void) |
| 7 | { |
| 8 | printf("Usage:\n"); |
| 9 | printf(" knictl [-p <f-stack proc_id>] [-P <max proc_id>] " |
| 10 | "[-a alltokni/alltoff/default][-n]\n use `-a` to set kni action\n use `-n` to show \n"); |
| 11 | } |
| 12 | |
| 13 | enum FF_KNICTL_CMD get_action(const char *c){ |
| 14 | if (!c) |