media_client: print usage in case of missing arguments
Now the obvious "media_client somefile.wav" will tell you what to do.
This commit is contained in:
@@ -38,6 +38,8 @@ int main(int argc, char *argv[])
|
||||
ret = media_play(argv[2]);
|
||||
} else if (strcmp(argv[1], "test") == 0)
|
||||
media_test();
|
||||
else
|
||||
print_usage();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user