diff options
author | Brian Paul <brianp@vmware.com> | 2010-02-17 08:59:02 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-02-17 08:59:02 -0700 |
commit | 5b392ff49ab6be3947b457feafdbb72463fd0686 (patch) | |
tree | 49f6d750acf186bce5debc4874435fd0cc8faffd /src/glsl/apps | |
parent | 6b4a553dd34764f8c696ae8198d98efbb28bbc93 (diff) |
glsl/apps: print usage info if insufficient args
Diffstat (limited to 'src/glsl/apps')
-rw-r--r-- | src/glsl/apps/process.c | 1 | ||||
-rw-r--r-- | src/glsl/apps/purify.c | 1 | ||||
-rw-r--r-- | src/glsl/apps/tokenise.c | 1 | ||||
-rw-r--r-- | src/glsl/apps/version.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c index 2d2ab911ac..e65f35cc00 100644 --- a/src/glsl/apps/process.c +++ b/src/glsl/apps/process.c @@ -47,6 +47,7 @@ main(int argc, unsigned int i; if (argc != 3) { + printf("Usage: process infile outfile\n"); return 1; } diff --git a/src/glsl/apps/purify.c b/src/glsl/apps/purify.c index 8c01f4fc6a..3019e8b220 100644 --- a/src/glsl/apps/purify.c +++ b/src/glsl/apps/purify.c @@ -45,6 +45,7 @@ main(int argc, FILE *out; if (argc != 3) { + printf("Usage: purify infile outfile\n"); return 1; } diff --git a/src/glsl/apps/tokenise.c b/src/glsl/apps/tokenise.c index 9ff73157e9..c70c3ccbb1 100644 --- a/src/glsl/apps/tokenise.c +++ b/src/glsl/apps/tokenise.c @@ -46,6 +46,7 @@ main(int argc, unsigned int i; if (argc != 3) { + printf("Usage: tokenize infile outfile\n"); return 1; } diff --git a/src/glsl/apps/version.c b/src/glsl/apps/version.c index 40a4a069c3..0420f97294 100644 --- a/src/glsl/apps/version.c +++ b/src/glsl/apps/version.c @@ -45,6 +45,7 @@ main(int argc, FILE *out; if (argc != 3) { + printf("Usage: version infile outfile\n"); return 1; } |