Ver código fonte

Make use of --chars parameter

Alois Mahdal 10 anos atrás
pai
commit
3bda98b1e4
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      include/gmon.py

+ 2
- 0
include/gmon.py Ver arquivo

@@ -62,6 +62,8 @@ class PluginData(object):
62 62
             self.fmt = "xgp"
63 63
         self.name = cmdargs['<command>']
64 64
         self.args = cmdargs['<args>']
65
+        if cmdargs['--chars']:
66
+            self.maxlen = int(cmdargs['--chars'])
65 67
 
66 68
 
67 69
 class Subcommand(object):