From: José Fonseca Date: Tue, 8 May 2012 08:05:53 +0000 (+0100) Subject: Fix tracediff.py's --width argument conversion (issue #77). X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=3abdc57f466f80eecc615d7e640305f381339cb8;hp=bd75066d4c6a84908f7deb2c16fc9c212ea727f4;p=apitrace Fix tracediff.py's --width argument conversion (issue #77). Thanks for wrabbit-revisited spotting problem and proposing fix. --- diff --git a/scripts/tracediff.py b/scripts/tracediff.py index f86fc39..86d1e00 100755 --- a/scripts/tracediff.py +++ b/scripts/tracediff.py @@ -184,7 +184,7 @@ def main(): help="calls to compare from source trace") optparser.add_option( '-w', '--width', metavar='NUM', - type="string", dest="width", default=default_width, + type="int", dest="width", default=default_width, help="columns [default: %default]") global options