mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Use version from git
This commit is contained in:
parent
330e99381e
commit
ab678e6c88
5 changed files with 17 additions and 5 deletions
|
|
@ -23,6 +23,7 @@
|
|||
#include <regex.h>
|
||||
#include <getopt.h>
|
||||
#include <errno.h>
|
||||
#include "git-version.h"
|
||||
#include "config.h"
|
||||
#include "misc.h"
|
||||
#include "print.h"
|
||||
|
|
@ -1085,7 +1086,7 @@ void options_parse(int argc, char *argv[])
|
|||
break;
|
||||
|
||||
case 'v':
|
||||
printf("tio v%s\n", VERSION);
|
||||
printf("tio %s\n", GIT_VERSION);
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue