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/arancid.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/arancid.in')
-rw-r--r-- | bin/arancid.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/arancid.in b/bin/arancid.in index 9b76146..165a187 100644 --- a/bin/arancid.in +++ b/bin/arancid.in @@ -1,7 +1,8 @@ #! @PERLV_PATH@ ## -## $Id: arancid.in,v 1.21 2006/05/28 16:38:50 heas Exp $ +## $Id: arancid.in,v 1.22 2006/10/05 04:27:42 heas Exp $ ## +## @PACKAGE@ @VERSION@ ## Hacked version of rancid for Alteon WebOS switches ## tested with: ad3 v8.1.18 ## afort@choqolat.org (andrew fort) @@ -27,10 +28,14 @@ # # arancid - Alteon WebOS plugin for rancid # -# usage: arancid [-d] [-l] [-f filename | hostname] +# usage: arancid [-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; |