diff options
Diffstat (limited to 'bin/tntrancid.in')
-rw-r--r-- | bin/tntrancid.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/tntrancid.in b/bin/tntrancid.in index 2a830d1..e16d57b 100644 --- a/bin/tntrancid.in +++ b/bin/tntrancid.in @@ -1,7 +1,8 @@ #! @PERLV_PATH@ ## -## $Id: tntrancid.in,v 1.16 2006/05/28 16:38:53 heas Exp $ +## $Id: tntrancid.in,v 1.17 2006/10/05 04:27:44 heas Exp $ ## +## @PACKAGE@ @VERSION@ ## Copyright (C) 1997-2006 by Terrapin Communications, Inc. ## All rights reserved. ## @@ -24,10 +25,14 @@ # # RANCID - Really Awesome New Cisco confIg Differ # -# usage: tntrancid [-d] [-l] [-f filename | hostname] +# usage: tntrancid [-dV] [-l] [-f filename | hostname] # use Getopt::Std; -getopts('dfl'); +getopts('dflV'); +if ($opt_V) { + print "@PACKAGE@ @VERSION@\n"; + exit(0); +} $log = $opt_l; $debug = $opt_d; $file = $opt_f; |