Commit be0bf035 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Update: Added comments to make code easier to understand

parent 2b3f07e9
......@@ -170,8 +170,10 @@ static int _parse_config_opts(int argc, char **argv, char *filename, size_t size
background = 0;
if (argc < 2) {
if (filename[0] != 0) {
/* We have a default filename, so we can work with no options. */
return 1;
} else {
/* We need at least a config filename. */
return -1;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment