Přemysl Janouch 2 years ago
parent
commit
b4b3ffef24
Signed by: Přemysl Janouch <p.janouch@gmail.com> GPG Key ID: B715679E3A361BE6
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      bfc-amd64-linux.c

+ 2
- 2
bfc-amd64-linux.c View File

@@ -86,7 +86,7 @@ enum command
86 86
 	SET, EAT, INCACC, DECACC
87 87
 };
88 88
 
89
-bool grouped[] = { 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 };
89
+bool grouped[] = { 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 };
90 90
 struct instruction { enum command cmd; int offset; size_t arg; };
91 91
 #define INSTRUCTION(c, o, a) (struct instruction) { (c), (o), (a) }
92 92
 
@@ -363,7 +363,7 @@ int
363 363
 main (int argc, char *argv[])
364 364
 {
365 365
 	if (argc > 3)
366
-		exit_fatal ("usage: %s [INPUT-FILE]\n", argv[0]);
366
+		exit_fatal ("usage: %s [INPUT-FILE] [OUTPUT-FILE]\n", argv[0]);
367 367
 
368 368
 	FILE *input_file = stdin;
369 369
 	if (argc > 1 && !(input_file = fopen (argv[1], "r")))

Loading…
Cancel
Save