summaryrefslogtreecommitdiff
path: root/extras/pretty_text.py
diff options
context:
space:
mode:
authorSanky <gsanky@gmail.com>2013-10-21 20:24:46 +0200
committerSanky <gsanky@gmail.com>2013-10-21 20:24:46 +0200
commitb5268ab9207f02574abe8d6f5407e25f4a86365a (patch)
treeadce2892dd4c07781f2db42854e30fc25dba8b15 /extras/pretty_text.py
parentda3b8dc19d685eb15c23d345aa51afb25b7dce58 (diff)
parent3016f72851213659656c6ce2cd2dcee6625b06bb (diff)
Merge remote-tracking branch 'kanzure/master' into mergetastic
Conflicts: main.asm
Diffstat (limited to 'extras/pretty_text.py')
m---------extras0
-rw-r--r--extras/pretty_text.py21
2 files changed, 0 insertions, 21 deletions
diff --git a/extras b/extras
new file mode 160000
+Subproject 2374a9ce905ccc4c701f81904b01019641e884b
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()