From: Michael Göhler Date: Tue, 27 Oct 2015 23:32:02 +0000 (+0100) Subject: modified help text + version bump, closes #92 X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=74f513ce239ec8958b399bde423fa9fa2ae5c3b4;p=smdp.git modified help text + version bump, closes #92 --- diff --git a/AUTHORS b/AUTHORS index e98ac92..f21717a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -10,4 +10,5 @@ fredjean hspak dopsi alx741 +mnalt diff --git a/include/main.h b/include/main.h index 67c59f8..e79b4a1 100644 --- a/include/main.h +++ b/include/main.h @@ -25,6 +25,6 @@ #define MDP_VER_MAJOR 1 #define MDP_VER_MINOR 0 -#define MDP_VER_REVISION 1 +#define MDP_VER_REVISION 2 #endif // !defined( MAIN_H ) diff --git a/src/main.c b/src/main.c index 9f0acda..00ef6d8 100644 --- a/src/main.c +++ b/src/main.c @@ -36,6 +36,7 @@ void usage() { fprintf(stderr, "%s", " -i, --invert swap black and white color\n"); fprintf(stderr, "%s", " -t, --notrans disable transparency in transparent terminal\n"); fprintf(stderr, "%s", " -s, --noslidenum do not show slide number at the bottom\n"); + fprintf(stderr, "%s", " -v, --version display the version number and license\n"); fprintf(stderr, "%s", " -x, --noslidemax show slide number, but not total number of slides\n"); fprintf(stderr, "%s", "\nWith no FILE, or when FILE is -, read standard input.\n\n"); exit(EXIT_FAILURE);