aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor <pashev.igor@gmail.com>2010-01-17 22:26:31 +0300
committerIgor <pashev.igor@gmail.com>2010-01-17 22:26:31 +0300
commitbc4605d96446428a635c5113b1f6af39ef0c7f2e (patch)
treea33687959798c5b121107211df0e4e0ac9c707a9
parentd46088ec0d0f280876372683bf558945c6ed29b5 (diff)
downloadbrainfuck-bc4605d96446428a635c5113b1f6af39ef0c7f2e.tar.gz
Updated README
-rw-r--r--README1
-rw-r--r--brainfuck.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index 169792a..920b990 100644
--- a/README
+++ b/README
@@ -4,6 +4,7 @@ See http://en.wikipedia.org/wiki/Brainfuck for more details
Usage: ./brainfuck [options] [file]
Size of each data cell is 4 byte(s)
+All data cell are zeros initially
Options (defaults are in brackets):
-s num stack size (128)
diff --git a/brainfuck.c b/brainfuck.c
index 6869797..9472d56 100644
--- a/brainfuck.c
+++ b/brainfuck.c
@@ -204,7 +204,8 @@ void usage(char * self)
printf("Usage: %s [options] [file]\n\n", self);
- printf("Size of each data cell is %u byte(s)\n\n", sizeof(DATATYPE));
+ printf("Size of each data cell is %u byte(s)\n", sizeof(DATATYPE));
+ printf("All data cell are zeros initially\n\n");
printf("Options (defaults are in brackets):\n");
printf(" -s num stack size (%u)\n", stack_size);
printf(" -d num data size (%u)\n", data_size);