summaryrefslogtreecommitdiffstats
path: root/bin/par.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/par.in')
-rw-r--r--bin/par.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/par.in b/bin/par.in
index 3b704d8..408b36b 100644
--- a/bin/par.in
+++ b/bin/par.in
@@ -1,7 +1,8 @@
#! @PERLV_PATH@
##
-## $Id: par.in,v 1.12 2006/05/28 16:38:52 heas Exp $
+## $Id: par.in,v 1.14 2006/11/28 21:21:28 heas Exp $
##
+## @PACKAGE@ @VERSION@
## Copyright (C) 1997-2006 by Terrapin Communications, Inc.
## All rights reserved.
##
@@ -44,7 +45,11 @@
# line is assumed to be a command to be run.
#
use Getopt::Std;
-getopts('p:n:l:c:fixedq');
+getopts('p:n:l:c:fixedqV');
+if ($opt_V) {
+ print "@PACKAGE@ @VERSION@\n";
+ exit(0);
+}
$procs=$opt_n; $procs=3 if(!$procs);
$command=$opt_c; #$command="{}" if(!$command);
$parlog=$opt_l; $parlog="par.log.".time() if(!$parlog);