modified help text + version bump, closes #92
authorMichael Göhler <somebody.here@gmx.de>
Tue, 27 Oct 2015 23:32:02 +0000 (00:32 +0100)
committerMichael Göhler <somebody.here@gmx.de>
Tue, 27 Oct 2015 23:32:02 +0000 (00:32 +0100)
AUTHORS
include/main.h
src/main.c

diff --git a/AUTHORS b/AUTHORS
index e98ac92..f21717a 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -10,4 +10,5 @@ fredjean
 hspak
 dopsi
 alx741
 hspak
 dopsi
 alx741
+mnalt
 
 
index 67c59f8..e79b4a1 100644 (file)
@@ -25,6 +25,6 @@
 
 #define MDP_VER_MAJOR 1
 #define MDP_VER_MINOR 0
 
 #define MDP_VER_MAJOR 1
 #define MDP_VER_MINOR 0
-#define MDP_VER_REVISION 1
+#define MDP_VER_REVISION 2
 
 #endif // !defined( MAIN_H )
 
 #endif // !defined( MAIN_H )
index 9f0acda..00ef6d8 100644 (file)
@@ -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", "  -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);
     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);