diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-12-24 00:47:11 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-12-24 00:47:11 +0100 |
commit | b4b3ffef24dea2eb1deb4f649fe20359d79e9940 (patch) | |
tree | 42b83174d8ef9c106cddfe4eb88422748a235d8a | |
parent | 99330e88f23a7e5aa0758bb9c934db395950ab2d (diff) | |
download | bfc-b4b3ffef24dea2eb1deb4f649fe20359d79e9940.tar.gz bfc-b4b3ffef24dea2eb1deb4f649fe20359d79e9940.tar.xz bfc-b4b3ffef24dea2eb1deb4f649fe20359d79e9940.zip |
Fixes
-rw-r--r-- | bfc-amd64-linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfc-amd64-linux.c b/bfc-amd64-linux.c index eb54e43..ee14e25 100644 --- a/bfc-amd64-linux.c +++ b/bfc-amd64-linux.c @@ -86,7 +86,7 @@ enum command SET, EAT, INCACC, DECACC }; -bool grouped[] = { 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 }; +bool grouped[] = { 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 }; struct instruction { enum command cmd; int offset; size_t arg; }; #define INSTRUCTION(c, o, a) (struct instruction) { (c), (o), (a) } @@ -363,7 +363,7 @@ int main (int argc, char *argv[]) { if (argc > 3) - exit_fatal ("usage: %s [INPUT-FILE]\n", argv[0]); + exit_fatal ("usage: %s [INPUT-FILE] [OUTPUT-FILE]\n", argv[0]); FILE *input_file = stdin; if (argc > 1 && !(input_file = fopen (argv[1], "r"))) |