Skip to content

Commit

Permalink
changed cli exec exampl
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnathaniel committed Dec 12, 2020
1 parent 87b3d84 commit 9b96ee3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Build executable from source

cd ~/go/src/github.com/ronnathaniel/brainfuck.go
go build .
chmod +x brainfuck.go
mv brainfuck.go /usr/local/bin/brainfuck

### Usage
Expand Down Expand Up @@ -62,7 +63,7 @@ Input is retrieved from stdin and Output pushed to stdout.

Optionally pass in a string from the command line.

brainfuck --exec "++[>+<-]"
brainfuck -c "++[>+<-]"

### Configurations

Expand All @@ -80,7 +81,7 @@ The default tap size is set to 500. Override it with the `TAPE_SIZE_DEFAULT` fla
├── LICENSE
├── README.md
├── brainfuck/ - importable package
├── cmd.go/ - handles command line
├── cmd.go - handles command line
└── examples/ - example bf src


Expand Down

0 comments on commit 9b96ee3

Please sign in to comment.