mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Exit when asking for version
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user