Add CLI overrides for config values.

This commit is contained in:
Christian Deacon
2025-02-26 20:29:53 -05:00
parent c567a028ed
commit 9d7549e39d
6 changed files with 266 additions and 90 deletions

View File

@@ -12,6 +12,14 @@ struct cmdline
unsigned int time;
unsigned int list : 1;
unsigned int help : 1;
int verbose;
char* log_file;
char* interface;
int update_time;
int no_stats;
int stats_per_second;
int stdout_update_time;
} typedef cmdline_t;
void ParseCommandLine(cmdline_t *cmd, int argc, char *argv[]);