Move sepolicy parsing error message into Rust

This commit is contained in:
topjohnwu
2024-03-21 14:07:28 -07:00
parent 865fca71a5
commit dd9d43be96
9 changed files with 315 additions and 198 deletions

View File

@@ -85,7 +85,8 @@ int main(int argc, char *argv[]) {
rule_files.emplace_back(argv[i + 1]);
++i;
} else if (option == "help"sv) {
statement_help();
rust::print_statement_help();
exit(0);
} else {
usage(argv[0]);
}