diff --git a/README.md b/README.md index bed5578..3b1e47f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ PearlFan [![Build Status](https://travis-ci.org/Ventto/pearlfan.svg?branch=master)](https://travis-ci.org/Ventto/pearlfan) [![License](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://github.com/Ventto/pearlfan/blob/master/LICENSE) -[![Status](https://img.shields.io/badge/status-Release_v1.0-blue.svg?style=flat)](https://github.com/Ventto/pearlfan/releases) +[![Status](https://img.shields.io/badge/status-Release_v1.1-blue.svg?style=flat)](https://github.com/Ventto/pearlfan/releases) *PearlFan provides a GNU/Linux Kernel driver and a libusb application for the "[PEARL.fr](https://www.pearl.fr/article/PX5939/ventilateur-usb-programmable-avec-message-defilant )" USB LED fan.* diff --git a/src/utils/optutils.c b/src/utils/optutils.c index 1ac926f..1bc7ecc 100644 --- a/src/utils/optutils.c +++ b/src/utils/optutils.c @@ -23,6 +23,8 @@ #include "optutils.h" #include "ioutils.h" +#define VERSION "1.1" + static int no_conjunction(char opt_a, char opt_b) { fprintf(stderr, "Option -%c cannot be used in conjuntion with %c.\n\n", @@ -68,7 +70,7 @@ static void usage(void) static void version(void) { - fprintf(stdout, "Pearlfan 1.0\n\n"); + fprintf(stdout, "Pearlfan %s\n\n", VERSION); fprintf(stdout, "Copyright (C) 2016 Thomas \"Ventto\" Venries.\n\n"); fprintf(stdout, "License GPLv3+: GNU GPL version 3 or later "), fprintf(stdout, ".\n");