This commit is contained in:
rexy712 2019-05-18 08:01:38 -07:00
parent ece4b9668d
commit b49c9bd0bb
2 changed files with 4 additions and 6 deletions

1
TODO
View File

@ -1 +0,0 @@
-d needs to require an integer argument

View File

@ -297,12 +297,11 @@ cmd_args process_cmd_args(int argc, char** argv){
ret.freq = atof(argv[next_arg]);
++next_arg;
break;
case SHORT_OPT(IGNORE_ANIMATE):
break;
case SHORT_OPT(IGNORE_DURATION):
if(next_arg != (argc-1)){
++next_arg;
}
if(next_arg == argc)
break;
++next_arg;
case SHORT_OPT(IGNORE_ANIMATE):
break;
default:
//keep parsing after error so we can still properly output requested color style