glsl/apps: print usage info if insufficient args

This commit is contained in:
Brian Paul 2010-02-17 08:59:02 -07:00
parent 6b4a553dd3
commit 5b392ff49a
4 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,7 @@ main(int argc,
unsigned int i;
if (argc != 3) {
printf("Usage: process infile outfile\n");
return 1;
}

View File

@ -45,6 +45,7 @@ main(int argc,
FILE *out;
if (argc != 3) {
printf("Usage: purify infile outfile\n");
return 1;
}

View File

@ -46,6 +46,7 @@ main(int argc,
unsigned int i;
if (argc != 3) {
printf("Usage: tokenize infile outfile\n");
return 1;
}

View File

@ -45,6 +45,7 @@ main(int argc,
FILE *out;
if (argc != 3) {
printf("Usage: version infile outfile\n");
return 1;
}