Commit 4bb153c2 by devttys0

Fixed typos in rehash

parent f88e0947
......@@ -26,7 +26,7 @@ def usage(fd):
fd.write("\t-d, --diff Only show files that are different\n")
fd.write("\t-s, --same Only show files that are the same\n")
fd.write("\t-S, --strings Diff strings inside files instead of the entire file\n")
fd.write("\t-c, --cutoff=<n> Set the cutoff percentage (default: %d%)\n" % DEFAULT_CUTOFF)
fd.write("\t-c, --cutoff=<n> Set the cutoff percentage (default: %d)\n" % DEFAULT_CUTOFF)
fd.write("\t-m, --max=<n> Quit after n number of matches\n")
fd.write("\n")
......@@ -97,6 +97,9 @@ def main():
"quiet",
]
if len(sys.argv) < 3:
usage(sys.stderr)
try:
opts, args = GetOpt(sys.argv[1:], short_options, long_options)
except GetoptError as e:
......
......@@ -117,6 +117,6 @@ setup( name = "binwalk",
requires = ["magic", "pyqtgraph"],
packages = ["binwalk"],
package_data = {"binwalk" : install_data_files},
scripts = ["bin/binwalk"],
scripts = ["bin/binwalk", "bin/rehash"],
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment