diff options
author | Igor <pashev.igor@gmail.com> | 2010-01-17 22:26:31 +0300 |
---|---|---|
committer | Igor <pashev.igor@gmail.com> | 2010-01-17 22:26:31 +0300 |
commit | bc4605d96446428a635c5113b1f6af39ef0c7f2e (patch) | |
tree | a33687959798c5b121107211df0e4e0ac9c707a9 | |
parent | d46088ec0d0f280876372683bf558945c6ed29b5 (diff) | |
download | brainfuck-bc4605d96446428a635c5113b1f6af39ef0c7f2e.tar.gz |
Updated README
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | brainfuck.c | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -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); |