Browse Source

Nicer version info

master
Bert 14 years ago
parent
commit
800143affb
2 changed files with 2 additions and 3 deletions
  1. +1
    -1
      Makefile
  2. +1
    -2
      options.c

+ 1
- 1
Makefile View File

@@ -1,6 +1,6 @@
all: sxiv all: sxiv


VERSION=0.6
VERSION=git-20110217


CC?=gcc CC?=gcc
PREFIX?=/usr/local PREFIX?=/usr/local


+ 1
- 2
options.c View File

@@ -34,8 +34,7 @@ void print_usage() {
} }


void print_version() { 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) { void parse_options(int argc, char **argv) {


Loading…
Cancel
Save