summaryrefslogtreecommitdiffstats
path: root/bin/f10rancid.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/f10rancid.in')
-rw-r--r--bin/f10rancid.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/f10rancid.in b/bin/f10rancid.in
index 4b63338..e61d215 100644
--- a/bin/f10rancid.in
+++ b/bin/f10rancid.in
@@ -1,7 +1,8 @@
#! @PERLV_PATH@
##
-## $Id: f10rancid.in,v 1.22 2006/08/12 00:48:48 heas Exp $
+## $Id: f10rancid.in,v 1.23 2006/10/05 04:27:42 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: 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;