diff options
author | Casey Deccio <casey@deccio.net> | 2017-04-14 07:03:15 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2017-06-15 23:40:17 +0300 |
commit | 1f80fb6fd1c711b5fa64d9f9f89f6b4b56bb9284 (patch) | |
tree | ab285f303c2f21a24e5b2fd889f231599ead1266 | |
parent | b6b3e88783a5d0bd66dc2177bb0e844f6a30f4c7 (diff) |
Change time to timeout
-rwxr-xr-x | contrib/digviz | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/digviz b/contrib/digviz index aadb66e..835391e 100755 --- a/contrib/digviz +++ b/contrib/digviz @@ -234,15 +234,15 @@ class DigCommandLineQuery: self.tcp = True elif arg in ('+notcp', '+novc'): self.tcp = False - elif arg.startswith('+time') and \ - (len(arg) <= 5 or arg[5] == '='): + elif arg.startswith('+timeout') and \ + (len(arg) <= 8 or arg[8] == '='): try: opt, arg = arg.split('=') self.query_timeout = float(arg) if self.query_timeout < 1.0: self.query_timeout = 1.0 except ValueError: - raise CommandLineException('+time requires a numerical argument') + raise CommandLineException('+timeout requires a numerical argument') #TODO +[no]topdown #TODO +[no]trace #TODO +[no]tries |