Skip to content

Commit

Permalink
show help for ./go2v without arguments as well
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Oct 1, 2024
1 parent f515039 commit 2eb3637
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.v
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ fn main() {
fp.footer(' The test folder is expected to have 2 files in it - a .go file and a .vv file.')
fp.footer(' The .go file will be translated, and then the output will be compared to the .vv file.')
fp.footer(' A failure will be reported, if there are differences.')
fp.limit_free_args_to_exactly(1)!
fp.skip_executable()
mut go_file_name := fp.finalize() or {
eprintln(err)
Expand Down

0 comments on commit 2eb3637

Please sign in to comment.