From 12ffda8cb72321cfbd4e5d1e6775beaf34560261 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 2 Nov 2003 00:24:26 +0000 Subject: [PATCH] Return immediately if --version option set. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@333 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/configure.in | 2 +- glabels2/src/glabels-batch.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/glabels2/configure.in b/glabels2/configure.in index 08116838..2ed4eee1 100644 --- a/glabels2/configure.in +++ b/glabels2/configure.in @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.52) -AC_INIT(glabels, 1.92.1, http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116) +AC_INIT(glabels, 1.92.2, http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116) AC_CONFIG_SRCDIR(src/glabels.c) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) diff --git a/glabels2/src/glabels-batch.c b/glabels2/src/glabels-batch.c index 4269ec74..ff71acf0 100644 --- a/glabels2/src/glabels-batch.c +++ b/glabels2/src/glabels-batch.c @@ -102,6 +102,7 @@ main (int argc, char **argv) } if ( version_flag ) { fprintf ( stderr, "glabels-batch %s\n", VERSION ); + return -1; } if ( help_flag ) { poptPrintHelp (pctx, stderr, 0); -- 2.39.5