aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-17 13:20:10 +0100
committerBert <ber.t@gmx.com>2011-02-17 13:20:10 +0100
commit800143affb9a6664c8a8df496574a268b43fdc17 (patch)
tree6c841059c6c8454f0b36b617696bc603175837aa
parentcaf982d175729603eee4f19382394ab66d4a469c (diff)
Nicer version info
-rw-r--r--Makefile2
-rw-r--r--options.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a07e94f..1a6c8a4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
all: sxiv
-VERSION=0.6
+VERSION=git-20110217
CC?=gcc
PREFIX?=/usr/local
diff --git a/options.c b/options.c
index 0a1aeda..286d0b6 100644
--- a/options.c
+++ b/options.c
@@ -34,8 +34,7 @@ void print_usage() {
}
void print_version() {
- printf("sxiv - simple x image viewer\n");
- printf("Version %s, written by Bert Muennich\n", VERSION);
+ printf("sxiv version %s - simple x image viewer\n", VERSION);
}
void parse_options(int argc, char **argv) {