Blame SOURCES/mrtg-2.17.7-traffic-sum-man-option.patch
|
|
393909 |
diff -up mrtg-2.17.7/bin/mrtg-traffic-sum.orig mrtg-2.17.7/bin/mrtg-traffic-sum
|
|
|
393909 |
--- mrtg-2.17.7/bin/mrtg-traffic-sum.orig 2018-10-18 12:21:12.616589922 +0200
|
|
|
393909 |
+++ mrtg-2.17.7/bin/mrtg-traffic-sum 2018-10-18 12:23:10.852648709 +0200
|
|
|
393909 |
@@ -58,7 +58,7 @@ sub mailout($$);
|
|
|
393909 |
sub main()
|
|
|
393909 |
{
|
|
|
393909 |
# parse options
|
|
|
393909 |
- GetOptions(\%opt, 'min=i','help|h', 'catch=s', 'email=s','version','range=s','units=s') or exit(1);
|
|
|
393909 |
+ GetOptions(\%opt, 'min=i','help|h', 'catch=s', 'email=s','version','range=s','units=s','man') or exit(1);
|
|
|
393909 |
if($opt{help}) { pod2usage(1) }
|
|
|
393909 |
if($opt{man}) { pod2usage(-exitstatus => 0, -verbose => 2) }
|
|
|
393909 |
if($opt{version}) { print "mrtg-traffic-sum $Revision\n"; exit(0) }
|