diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2009-01-27 15:25:08 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2009-01-27 15:25:08 +0100 |
commit | 8380a62bdbecb16f6623afff21059e914d09364b (patch) | |
tree | c50012f01cdbd66ec3403c956449cf5b0324f917 /bin | |
parent | 76b82782a9ecf7c4066399703c4f7e1a9fe975b3 (diff) | |
download | smokeping-8380a62bdbecb16f6623afff21059e914d09364b.tar.gz smokeping-8380a62bdbecb16f6623afff21059e914d09364b.tar.xz |
we want pattern to be called filter ... really !
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/smokeinfo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/smokeinfo b/bin/smokeinfo index ed3519b..caded45 100755 --- a/bin/smokeinfo +++ b/bin/smokeinfo @@ -14,10 +14,10 @@ my $Revision = $1; sub main() { # parse options - my %opt = (mode=>'plain',filter=>undef,separator=>';',format=>'%le',start=>'end-24h'); + my %opt = (mode=>'plain',filter=>'.*',separator=>';',format=>'%le',start=>'end-24h'); GetOptions(\%opt, 'help|h', 'man', 'version', 'noaction|no-action|n','no-head', - 'start=s','end=s','pattern=s','mode=s','separator=s','format=s') or exit(1); + 'start=s','end=s','filter=s','mode=s','separator=s','format=s') or exit(1); if($opt{help}) { pod2usage(1) } if($opt{man}) { pod2usage(-exitstatus => 0, -verbose => 2) } if($opt{version}) { print "smokeinfo $Revision\n"; exit(0) } |