Skip to content

Commit

Permalink
Add -check-unused-fn-args
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 16, 2024
1 parent 0b3db6e commit 0f70595
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vlib/v/pref/pref.v
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,9 @@ pub fn parse_args_and_show_errors(known_external_commands []string, args []strin
res.parse_line_info(res.line_info)
i++
}
'-check-unused-fn-args' {
res.show_unused_params = true
}
'-use-coroutines' {
res.use_coroutines = true
$if macos || linux {
Expand Down

0 comments on commit 0f70595

Please sign in to comment.