aboutsummaryrefslogtreecommitdiff
path: root/brainfuck.c
diff options
context:
space:
mode:
Diffstat (limited to 'brainfuck.c')
-rw-r--r--brainfuck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/brainfuck.c b/brainfuck.c
index de5f703..c63f076 100644
--- a/brainfuck.c
+++ b/brainfuck.c
@@ -205,7 +205,7 @@ void usage(char * self)
printf("Usage: %s [options] [file]\n\n", self);
printf("Size of each data cell is %u byte(s)\n", sizeof(DATATYPE));
- printf("All data cell are zeros initially\n\n");
+ printf("All data cells 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);
@@ -228,7 +228,7 @@ void usage(char * self)
printf(" # - comment to the end of line (useful when reading files)\n");
printf("\n");
printf("Example:\n");
- printf(" echo '+++[.-]' | %s # count down from 3 to 0\n", self);
+ printf(" echo '+++[.-]' | %s # count down from 3 to 1\n", self);
printf(" echo ',+++.;5' | %s # shows 8\n", self);
printf(" echo ',>,<[->+<]>.;4 5' | %s # shows 4+5=9\n", self);