summaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c4
1 files changed, 2 insertions, 2 deletions
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]);