aboutsummaryrefslogtreecommitdiffstats
path: root/dtube
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-02-28 02:53:23 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2013-02-28 02:53:23 +0100
commited434ce4d998819364c5b793c6f4f925ca431d85 (patch)
treedcfc0b008efbb7825d7483ee14c072e286ae8edf /dtube
parentdtube: cache support (diff)
downloadlaurent-tools-ed434ce4d998819364c5b793c6f4f925ca431d85.tar.xz
laurent-tools-ed434ce4d998819364c5b793c6f4f925ca431d85.zip
dtube: improve help
Diffstat (limited to 'dtube')
-rwxr-xr-xdtube/dtube.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/dtube/dtube.py b/dtube/dtube.py
index d1af0ff..ca1be1c 100755
--- a/dtube/dtube.py
+++ b/dtube/dtube.py
@@ -4,7 +4,6 @@
# 2013 Laurent Ghigonis <laurent@p1sec.com>
#
# TODO
-# * cache
# * ip dns country
# * -t
@@ -23,15 +22,15 @@ from optparse import OptionParser
import conf_dtube
def usage():
- return """usage: %s [-t ranges|A|PTR|ip] [-f filter] [-v] AS|range-cidr|IP|DNS|country
+ # [-t ranges|A|PTR|ip] [-f filter]
+ return """usage: %s [-h] [-v] AS | range-cidr | IP | DNS | country
-Example:
+Examples:
%s AS23118
%s 91.220.156.0/24
%s 8.8.8.8
%s ovh.net
-%s US
-""" % (sys.argv[0], sys.argv[0], sys.argv[0], sys.argv[0], sys.argv[0], sys.argv[0])
+%s US""" % (sys.argv[0], sys.argv[0], sys.argv[0], sys.argv[0], sys.argv[0], sys.argv[0])
# XXX already exists in python libs ?
def merge_table(left, right):