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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue