Skip to content

Commit

Permalink
Exit when asking for version
Browse files Browse the repository at this point in the history
  • Loading branch information
AnErrupTion committed Jun 15, 2023
1 parent d775efb commit 1c2be47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ void arg_help(void* data, char** pars, const int pars_count)
void arg_version(void* data, char** pars, const int pars_count)
{
printf("Ly version %s\n", LY_VERSION);
exit(0);
}

// low-level error messages
Expand Down

0 comments on commit 1c2be47

Please sign in to comment.