Commit
da554b7ef added the tgid/fd argument form, where tgid is
optional, and a missing tgid would mean "in each thread group".
However the code considered everything that was not a digit a filter
type, and as / was not a valid filter type, we'd just get an output of
"Invalid FD type".
Fix that by not considering / a filter character.
This must be backported to 3.4.
if (*args[arg] == '!' || *args[arg] == '-')
ctx->show_mask = CLI_SHOWFD_F_ANY;
- while (*args[arg] && !isdigit((uchar)*args[arg])) {
+ while (*args[arg] && !isdigit((uchar)*args[arg]) && *args[arg] != '/') {
uint flag = 0, inv = 0;
c = args[arg];
while (*c) {