makedev improve and CI badge

This commit is contained in:
2025-09-12 23:28:09 +02:00
parent 1dec3e5ee9
commit 34a6ac328b
4 changed files with 25 additions and 4 deletions
+2 -2
View File
@@ -48,12 +48,12 @@ void print_help(int status_code) {
void invalid_arg(char *arg) {
fprintf(stderr, "invalid argument: '%s'\n\n", arg);
print_help(1);
print_help(EXIT_FAILURE);
}
void invalid_value(char *arg, char *value) {
fprintf(stderr, "invalid value for argument '%s': '%s'\n\n", arg, value);
print_help(1);
print_help(EXIT_FAILURE);
}
bool is_arg(char *arg, char *ref) { return strcoll(arg, ref) == 0; }