diff options
author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2013-09-16 13:12:42 -0400 |
---|---|---|
committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2013-09-16 13:12:42 -0400 |
commit | 4000d7a23ab9a9d46bea6e937ab12d63c3194b89 (patch) | |
tree | d7f66337ea36fb300f7fc053ba572d05995b5a2f /extras/pretty_text.py | |
parent | 5537897109c43381c222fcab96b2db3b9d3ffe7d (diff) | |
parent | 11aa33e49c2c4a8c9c6033d62da43292283ff675 (diff) |
Merge branch 'master' into comments
Diffstat (limited to 'extras/pretty_text.py')
m--------- | extras | 0 | ||||
-rw-r--r-- | extras/pretty_text.py | 21 |
2 files changed, 0 insertions, 21 deletions
diff --git a/extras b/extras new file mode 160000 +Subproject 7aa016fb528bcc8dcb30c6a887957851623eccc diff --git a/extras/pretty_text.py b/extras/pretty_text.py deleted file mode 100644 index 4933dca2..00000000 --- a/extras/pretty_text.py +++ /dev/null @@ -1,21 +0,0 @@ -#author: Bryan Bishop <kanzure@gmail.com> -#date: 2012-01-16 -from optparse import OptionParser -from analyze_texts import text_pretty_printer_at - -def main(): - usage = "usage: %prog address label" - parser = OptionParser(usage) - (options, args) = parser.parse_args() - if len(args) == 1: - print "usage: python pretty_text.py address label" - args.append("UnnamedText_" + (args[0].replace("0x", ""))) - elif len(args) != 2: - parser.error("we need both an address and a label") - address = int(args[0], 16) - label = args[1] - - text_pretty_printer_at(address, label) - -if __name__ == "__main__": - main() |