From adc0e1599ba2d5859f306424b864541869028708 Mon Sep 17 00:00:00 2001 From: louie Date: Sun, 1 Aug 2021 11:40:43 -0700 Subject: Changed --cfg_path to --config --- draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'draw.c') diff --git a/draw.c b/draw.c index 5cf264d..a66dc3b 100644 --- a/draw.c +++ b/draw.c @@ -175,7 +175,7 @@ int main(int argc, char **argv){ bool *handle_args(int argc, char **argv, char **cfg_path){ //create bool array with set flags - // 0 -> -c|--cfg_path + // 0 -> -c|--config // 1 -> -h|--help // 2 -> -q|--quiet @@ -184,7 +184,7 @@ bool *handle_args(int argc, char **argv, char **cfg_path){ for(i = 1; i < argc; ++i){ //-c - if(!strcmp(argv[i], "-c") || !strcmp(argv[i], "--cfg_path")){ + if(!strcmp(argv[i], "-c") || !strcmp(argv[i], "--config")){ ++i; if(i < argc){ strcpy(*cfg_path, argv[i]); -- cgit