diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-03-10 18:03:28 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-03-10 18:03:28 +0100 |
| commit | 21710c73bdf0fc1164422c178c9faaa71bf9cdd9 (patch) | |
| tree | d7b7d3ada07b0d33b50aeeca5800feab4ef0dd31 | |
| parent | 62147f625e2a51a405c1c7ea5ca2ef4d96b8e7f6 (diff) | |
| download | sylt-21710c73bdf0fc1164422c178c9faaa71bf9cdd9.tar.gz | |
use correct flag
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 1489fda..23ababa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,10 +22,10 @@ fn parse_args() -> Args { if path.is_file() { args.file = Some(path); } else if s == "-v" { - args.print_exec = true; + args.print_bytecode = true; } else if s == "-vv" { - args.print_exec = true; args.print_bytecode = true; + args.print_exec = true; } else { eprintln!("Invalid argument {}.", s); } |
