Skip to content

Commit

Permalink
improve usage description
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Oct 1, 2024
1 parent 2eb3637 commit c369671
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.v
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,11 @@ fn main() {
fp.application('go2v')
fp.version('0.0.1')
fp.description('go2v is an utility to automatically transpile Go source code into V source code')
fp.arguments_description('GO_FILE/TEST_FOLDER_WITH_GO_AND_VV_PAIRS')
fp.usage_example('file.go')
fp.usage_example('tests/import_strings')
fp.footer('\nNormal mode:')
fp.footer(' Supply the path to a single .go file, that you want translated to V.')
fp.footer('\nTest mode:')
fp.footer('\nTest folder mode:')
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.')
Expand Down

0 comments on commit c369671

Please sign in to comment.