Print usage on argc < 2

git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@37 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
This commit is contained in:
sinamas 2007-08-28 08:12:24 +00:00
parent a1b30c7dd7
commit 06203ecde1

View File

@ -141,7 +141,7 @@ int main(int argc, char **argv) {
printf("Gambatte SDL svn\n"); printf("Gambatte SDL svn\n");
if (argc < 2) { if (argc < 2) {
printf("No rom specified\n"); printf("Usage: gambatte_sdl romfile\n");
return 1; return 1;
} }