From e3040135a5e51baab04070e04f86c22df2867c5c Mon Sep 17 00:00:00 2001 From: jvech Date: Sat, 21 Sep 2024 14:46:03 -0500 Subject: doc: Man page for configuration file added The only concern I have with this file is having the program version matching with the actual program, but it is not critical --- src/main.c | 3 --- src/util.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 7918706..6d1d433 100644 --- a/src/main.c +++ b/src/main.c @@ -31,9 +31,6 @@ #define MAX_FILE_SIZE 536870912 //1<<29; 0.5 GiB -#define ARRAY_SIZE(x, type) sizeof(x) / sizeof(type) - - void load_config(struct Configs *cfg, int n_args, ...) { char *filepath; diff --git a/src/util.c b/src/util.c index ad14632..13d963a 100644 --- a/src/util.c +++ b/src/util.c @@ -80,7 +80,7 @@ char *e_strdup(const char *s) void version() { - printf("ml 0.2.0\n"); + printf("ml 0.5.0\n"); printf( "Copyright (C) 2023 jvech\n\n" "This program is free software: you can redistribute it and/or modify\n" "it under the terms of the GNU General Public License as published by\n" -- cgit v1.2.3-70-g09d2