Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dario Tarantini committed Jun 11, 2020
1 parent bd761cd commit 319cffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A brainfuck interpreter/compiler written in V.
4. Add `vbf` to your path
## Usage
```
vbf 0.5 - simple brainfuck interpreter/compiler
vbf 1.0 - simple brainfuck interpreter/compiler
Usage: vbf [options] [file]
Options:
Expand Down
2 changes: 1 addition & 1 deletion vbf/main.v
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (

fn main(){
if os.args[1] == 'help' {
println('vbf 0.7 - simple brainfuck interpreter/compiler\nUsage: vbf [options] [file]\n\nOptions:\n - run\t\tRun a brainfuck script\n - build\tGenerate a C program from brainfuck that can be compiled\n - help\t\tShow this message')
println('vbf 1.0 - simple brainfuck interpreter/compiler\nUsage: vbf [options] [file]\n\nOptions:\n - run\t\tRun a brainfuck script\n - build\tGenerate a C program from brainfuck that can be compiled\n - help\t\tShow this message')
}else if os.args[1] == 'run' {
code := os.read_file(os.args[2]) or {
println('File not found')
Expand Down

0 comments on commit 319cffc

Please sign in to comment.