Browse code

add correct usage notice

Bernd Wurst authored on24/02/2014 16:53:21
Showing1 changed files
... ...
@@ -78,7 +78,7 @@ def vulnprint(appname, version, safeversion, vuln, vfilename, subdir, style = No
78 78
 pp = pprint.PrettyPrinter(indent=4)
79 79
 
80 80
 # Command-line options
81
-parser = optparse.OptionParser()
81
+parser = optparse.OptionParser(usage="usage: %prog [options] <path> [<path2> ...]")
82 82
 parser.add_option("-a", "--all", action="store_true", dest="ALL",
83 83
                   help="Show all webapps found, not just vulnerable")
84 84
 parser.add_option("-d", "--debug", action="store_true", dest="DEBUG",