summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/tml-config.5.gzbin2330 -> 2330 bytes
-rw-r--r--docs/tml.1.gzbin961 -> 957 bytes
-rw-r--r--draw.c4
3 files changed, 2 insertions, 2 deletions
diff --git a/docs/tml-config.5.gz b/docs/tml-config.5.gz
index 797abc9..fde914d 100644
--- a/docs/tml-config.5.gz
+++ b/docs/tml-config.5.gz
Binary files differ
diff --git a/docs/tml.1.gz b/docs/tml.1.gz
index 388d9b8..466656d 100644
--- a/docs/tml.1.gz
+++ b/docs/tml.1.gz
Binary files differ
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]);