aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fractal-gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fractal-gen.c b/fractal-gen.c
index 2e06df3..1a77577 100644
--- a/fractal-gen.c
+++ b/fractal-gen.c
@@ -19,9 +19,9 @@ int main(int argc, char **argv)
return EXIT_FAILURE;
}
- if (argc != 4)
+ if (argc != 4 || argc != 5)
{
- fprintf(stderr, "%s size iterat power\n", argv[0]);
+ fprintf(stderr, "%s size iterat power [threads]\n", argv[0]);
return EXIT_FAILURE;
}