Skip to content

Commit

Permalink
fix: Removed fmt and tree from clap params
Browse files Browse the repository at this point in the history
  • Loading branch information
giann committed May 16, 2024
1 parent 8e66570 commit 1a9962e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,6 @@ pub fn main() u8 {
\\-h, --help Show help and exit
\\-t, --test Run test blocks in provided script
\\-c, --check Check script for error without running it
\\-f, --fmt Format script
\\-a, --tree Dump AST as JSON
\\-v, --version Print version and exit
\\-L, --library <str>... Add search path for external libraries
\\<str>...
Expand Down Expand Up @@ -301,10 +299,6 @@ pub fn main() u8 {
.Check
else if (res.args.@"test" == 1)
.Test
else if (res.args.fmt == 1)
.Fmt
else if (res.args.tree == 1)
.Ast
else if (res.positionals.len == 0)
.Repl
else
Expand Down

0 comments on commit 1a9962e

Please sign in to comment.