Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--match and --exclude cannot be used together #626

Open
gonsie opened this issue Feb 25, 2025 · 0 comments
Open

--match and --exclude cannot be used together #626

gonsie opened this issue Feb 25, 2025 · 0 comments
Assignees

Comments

@gonsie
Copy link
Contributor

gonsie commented Feb 25, 2025

At least in drm (and maybe in other tools) the --match and --exclude options cannot be used at the same time.

mpifileutils/src/drm/drm.c

Lines 155 to 162 in 9d463ca

case 'e':
regex_exp = MFU_STRDUP(optarg);
exclude = 1;
break;
case 'a':
regex_exp = MFU_STRDUP(optarg);
exclude = 0;
break;

filtered_flist = mfu_flist_filter_regex(flist, regex_exp, exclude, name);

This should be well documented. Hopefully this issue can be used to track the other tools that are impacted by this, and the effort to correctly document this limitation in the various places.

@gonsie gonsie self-assigned this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant