#include "utils.h"
Functions | |
void | print_usage (const char *program_name) |
Prints the program's usage information to the console. | |
bool | is_valid_generations (const char *generations) |
Validates the generation string. | |
bool is_valid_generations | ( | const char * | generations | ) |
Validates the generation string.
Checks if the provided generation string only contains valid characters: 0-9, a-z, #, and *.
generations | The generation string to validate. |
true
if the generation string is valid, false
otherwise. void print_usage | ( | const char * | program_name | ) |
Prints the program's usage information to the console.
program_name | The name of the program executable. |