aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);