Skip to content

Commit

Permalink
Format help output
Browse files Browse the repository at this point in the history
Add missing `--version` option to optional
arguments listing.
  • Loading branch information
vladimyr committed Jun 6, 2020
1 parent 66bfaa2 commit 32b5c96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cli/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ int main(int argc, const char* argv[])
if (argc == 2 && strcmp(argv[1], "--help") == 0)
{
printf("Usage: wren [file] [arguments...]\n");
printf(" --help Show command line usage\n");
printf("\n");
printf("Optional arguments:\n");
printf(" --help Show command line usage\n");
printf(" --version Show version\n");
return 0;
}

Expand Down

0 comments on commit 32b5c96

Please sign in to comment.