diff options
author | Tar Committer <tar@ocjtech.us> | 2006-12-05 16:52:12 +0000 |
---|---|---|
committer | Tar Committer <tar@ocjtech.us> | 2006-12-05 16:52:12 +0000 |
commit | 1a7c45398738cdb4eaafdc9e0962272f19d54816 (patch) | |
tree | 6863882585a40ef9f65a9bab880a22fdb02c06ab /bin/htrancid.in | |
parent | a0be206eb419f63eeb436631cc91b3456dff006f (diff) | |
download | rancid-1a7c45398738cdb4eaafdc9e0962272f19d54816.tar.gz rancid-1a7c45398738cdb4eaafdc9e0962272f19d54816.tar.xz rancid-1a7c45398738cdb4eaafdc9e0962272f19d54816.zip |
Imported from rancid-2.3.2a6.tar.gz.rancid-2.3.2a6
Diffstat (limited to 'bin/htrancid.in')
-rw-r--r-- | bin/htrancid.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/htrancid.in b/bin/htrancid.in index c40f812..d15d569 100644 --- a/bin/htrancid.in +++ b/bin/htrancid.in @@ -1,7 +1,8 @@ #! @PERLV_PATH@ ## -## $Id: htrancid.in,v 1.12 2006/05/28 16:38:51 heas Exp $ +## $Id: htrancid.in,v 1.13 2006/10/05 04:27:43 heas Exp $ ## +## @PACKAGE@ @VERSION@ ## Copyright (C) 1997-2006 by Terrapin Communications, Inc. ## All rights reserved. ## @@ -23,10 +24,14 @@ # # RANCID - Really Awesome New Cisco confIg Differ # -# usage: htrancid [-d] [-l] [-f filename | hostname] +# usage: htrancid [-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; |