diff options
author | louie <lshprung@yahoo.com> | 2021-08-01 11:40:43 -0700 |
---|---|---|
committer | louie <lshprung@yahoo.com> | 2021-08-01 11:40:43 -0700 |
commit | adc0e1599ba2d5859f306424b864541869028708 (patch) | |
tree | 671b8f12845c893095d79255d963dbf13d5c95e7 | |
parent | d41dda27586bccde40991f76e2a3e24c586f1743 (diff) |
Changed --cfg_path to --config
-rw-r--r-- | docs/tml-config.5.gz | bin | 2330 -> 2330 bytes | |||
-rw-r--r-- | docs/tml.1.gz | bin | 961 -> 957 bytes | |||
-rw-r--r-- | draw.c | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/docs/tml-config.5.gz b/docs/tml-config.5.gz Binary files differindex 797abc9..fde914d 100644 --- a/docs/tml-config.5.gz +++ b/docs/tml-config.5.gz diff --git a/docs/tml.1.gz b/docs/tml.1.gz Binary files differindex 388d9b8..466656d 100644 --- a/docs/tml.1.gz +++ b/docs/tml.1.gz @@ -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]); |