diff --git a/alsaucm/usecase.c b/alsaucm/usecase.c index 58165f7..bb894c6 100644 --- a/alsaucm/usecase.c +++ b/alsaucm/usecase.c @@ -401,7 +401,7 @@ int main(int argc, char *argv[]) } /* parse and execute any command line commands */ - if (argc >= 3) { + if (argc > optind) { context->argv = argv + optind; context->argc = argc - optind; err = do_commands(context);