Skip to content

Commit

Permalink
Merge pull request #30 from vladimyr/help
Browse files Browse the repository at this point in the history
Format help output
  • Loading branch information
ruby0x1 authored Jun 6, 2020
2 parents 66bfaa2 + 32b5c96 commit 5495a31
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 5495a31

Please sign in to comment.