Skip to content

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

Open
@gonsie

Description

@gonsie

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions