summaryrefslogtreecommitdiff
path: root/dev-db/mytop/files/mytop-1.6-getopt-long-2.38-fixup.patch
blob: b911f9067baa586084d310ab0a6b7cc7fa506f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Getopt-Long-2.38 is stricter about what it allows.

diff -Nuar mytop-1.6.orig/mytop mytop-1.6/mytop
--- mytop-1.6.orig/mytop	2009-04-10 00:47:31.007111359 -0700
+++ mytop-1.6/mytop	2009-04-10 00:50:39.875391905 -0700
@@ -153,7 +153,7 @@
     "idle|i"              => \$config{idle},
     "resolve|r"           => \$config{resolve},
     "prompt!"             => \$config{prompt},
-    "long|!"              => \$config{long_nums},
+    "long!"               => \$config{long_nums},
     "mode|m=s"            => \$config{mode},
     "sort=s"              => \$config{sort},
 );