Add version information

This commit is contained in:
Valentin Moguérou 2021-11-03 23:13:30 +01:00
parent 2e287bb2d8
commit fabc2bcf86

View File

@ -24,7 +24,7 @@
#include "interact.h"
#include "simplegen.h"
#define PROGRAM_VERSION "1.0"
#define PROGRAM_VERSION "Alpha 0.1"
void help(char *program_name)
{
@ -43,7 +43,12 @@ This program was made with love by Valentin Moguerou <valentin@kaz.bzh>.");
void version()
{
printf("Catwalk CLI version 1.0\n");
puts("Catwalk CLI version alpha 0.1\n\
Copyright (C) 2021 Valentin Moguerou <valentin@kaz.bzh>\n\
License GPLv3+ : GNU GPL version 3 or later\n\
<https://gnu.org/licenses/gpl.html>\n\
This program comes with ABSOLUTELY NO WARRANTY.\n\
This is free software, and you are welcome to redistribute it under certain conditions.");
}
int main(int argc, char **argv)