Merge pull request #438 from s4Ys369/revert-434-patch-1
[sm64pc.git] / tools / zeroterm.py
blob7675017aba351bd46e70a609197a8bde47811314
1 #!/usr/bin/env python3
2 import sys
3 if len(sys.argv) < 2:
4 print("usage: zeroterm <string>")
5 else:
6 sys.stdout.buffer.write(bytes(sys.argv[1], 'ascii') + b'\x00')