Use version from git

This commit is contained in:
Martin Lund 2024-10-25 19:35:13 +02:00
parent 330e99381e
commit ab678e6c88
5 changed files with 17 additions and 5 deletions

View file

@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "git-version.h"
#include "config.h"
#include "options.h"
#include "configfile.h"
@ -101,7 +102,7 @@ int main(int argc, char *argv[])
error_enter_session_mode();
/* Print launch hints */
tio_printf("tio v%s", VERSION);
tio_printf("tio %s", GIT_VERSION);
if (interactive_mode)
{
tio_printf("Press ctrl-%c q to quit", option.prefix_key);