Add version information
This commit is contained in:
parent
2e287bb2d8
commit
fabc2bcf86
@ -24,7 +24,7 @@
|
|||||||
#include "interact.h"
|
#include "interact.h"
|
||||||
#include "simplegen.h"
|
#include "simplegen.h"
|
||||||
|
|
||||||
#define PROGRAM_VERSION "1.0"
|
#define PROGRAM_VERSION "Alpha 0.1"
|
||||||
|
|
||||||
void help(char *program_name)
|
void help(char *program_name)
|
||||||
{
|
{
|
||||||
@ -43,7 +43,12 @@ This program was made with love by Valentin Moguerou <valentin@kaz.bzh>.");
|
|||||||
|
|
||||||
void version()
|
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)
|
int main(int argc, char **argv)
|
||||||
|
Loading…
Reference in New Issue
Block a user