Enhancements to mkfiles.pl and Recipe to arrange for the auxiliary
[sgt/puzzles] / pattern.c
index 5ef032f..e9b6f98 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -1243,15 +1243,12 @@ int main(int argc, char **argv)
 {
     game_params *p;
     game_state *s;
-    int recurse = TRUE;
     char *id = NULL, *desc, *err;
-    int y, x;
-    int grade = FALSE;
 
     while (--argc > 0) {
         char *p = *++argv;
        if (*p == '-') {
-            fprintf(stderr, "%s: unrecognised option `%s'\n", argv[0]);
+            fprintf(stderr, "%s: unrecognised option `%s'\n", argv[0], p);
             return 1;
         } else {
             id = p;