-A/-i not together

This commit is contained in:
van Hauser 2020-02-03 21:29:38 +01:00
parent 1775c8a6ff
commit 026b68c47b

View File

@ -892,7 +892,12 @@ int main(int argc, char** argv) {
}
if (in_dir) at_file = "@@";
if (in_dir) {
if (at_file) PFATAL("Options -A and -i are mutually exclusive");
at_file = "@@";
}
detect_file_args(argv + optind, at_file);