summaryrefslogtreecommitdiffstats
path: root/bin/cssrancid.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cssrancid.in')
-rw-r--r--bin/cssrancid.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/cssrancid.in b/bin/cssrancid.in
index 664953b..294f400 100644
--- a/bin/cssrancid.in
+++ b/bin/cssrancid.in
@@ -1,7 +1,8 @@
#! @PERLV_PATH@
##
-## $Id: cssrancid.in,v 1.12 2006/05/28 16:38:50 heas Exp $
+## $Id: cssrancid.in,v 1.13 2006/10/05 04:27:42 heas Exp $
##
+## @PACKAGE@ @VERSION@
## Copyright (C) 1997-2006 by Terrapin Communications, Inc.
## All rights reserved.
##
@@ -21,10 +22,14 @@
#
# RANCID - Really Awesome New Cisco confIg Differ
#
-# usage: rancid [-d] [-l] [-f filename | hostname]
+# usage: rancid [-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;