Comment #2 on issue 1068 by alejandro-colomar: --keep is being ignored
Hmm, I read that, but wondered why a glob and not a regex. I didn't know if the glob was compared against the whole path of the file in the filesystem, or the relative path noted in the include line.
> It's matched against the full path of the include, to allow things like `--keep="*/magic/*"`.
>
> So it should work if you do: `--keep="*nxt_ftm.h"`.
>
> That is a little confusing, though, so if you're interested in improving the matching in `ShouldKeepIncludeFor`, patches are welcome. I suppose it could try to match the basename if the pattern is _not_ a glob. Or try both path and basename, not sure.
I'm not sure. I'd keep it as is for now, but maybe document it more explicitly.