aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README4
-rw-r--r--brainfuck.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 7f220c0..be42fc9 100644
--- a/README
+++ b/README
@@ -20,8 +20,8 @@ Output formats for operator '.':
Standard operators: <>+-[].,
Extensions:
ciuox - change format output (same as -c & others, see above)
- ; - end of code (usefull when reading stdin)
- # - comment to the end of line (usefull when reading files)
+ ; - end of code (useful when reading stdin)
+ # - comment to the end of line (useful when reading files)
Example:
echo '+++[.-]' | ./brainfuck
diff --git a/brainfuck.c b/brainfuck.c
index 79ff0e5..2b530b9 100644
--- a/brainfuck.c
+++ b/brainfuck.c
@@ -207,8 +207,8 @@ void usage(char * self)
printf("Standard operators: <>+-[].,\n");
printf("Extensions:\n");
printf(" ciuox - change format output (same as -c & others, see above)\n");
- printf(" ; - end of code (usefull when reading stdin)\n");
- printf(" # - comment to the end of line (usefull when reading files)\n");
+ printf(" ; - end of code (useful when reading stdin)\n");
+ printf(" # - comment to the end of line (useful when reading files)\n");
printf("\n");
printf("Example:\n");
printf(" echo '+++[.-]' | %s\n", self);