diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-04 22:22:52 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-04 22:22:52 -0500 |
commit | 3ded09ef5dc1ab7af6d786cf34dd881ae8da3114 (patch) | |
tree | bd95919752454c4e6941e555e8bc403c0d2e7445 /extras/pretty_text.py | |
parent | 0fe8e003e4e0423a5eb016b093120429ce29ba51 (diff) | |
parent | 32265fb71ba95632e06e403e2222c783378d1d9d (diff) |
Merge branch 'use-pokemontools' into master
Conflicts:
extras
extras/analyze_incbins.py
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() |