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:
parent
1f384bf443
commit
c312da45a8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user