diff --git a/src/fluidsynth.c b/src/fluidsynth.c index 3f6c46ab8..27c1fe8a7 100644 --- a/src/fluidsynth.c +++ b/src/fluidsynth.c @@ -517,7 +517,7 @@ int main(int argc, char **argv) { optarg = argv[i]; - if(optarg[0] == '-') + if((optarg[0] == '-') && ((optarg[1] != '\0') || (c != 'F'))) { printf("Expected argument to option -%c found switch instead\n", c); print_usage();