diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -80,7 +80,7 @@ int usage(const char *cmd) | |||
| 80 | int cnt = 0; | 80 | int cnt = 0; |
| 81 | 81 | ||
| 82 | xs_list_foreach(l, v) { | 82 | xs_list_foreach(l, v) { |
| 83 | if (xs_startswith(v, cmd)) { | 83 | if (xs_str_in(v, cmd) != -1) { |
| 84 | printf("%s\n", v); | 84 | printf("%s\n", v); |
| 85 | cnt++; | 85 | cnt++; |
| 86 | } | 86 | } |