mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Update usage doc comments for some tools/*.py scripts
This commit is contained in:
parent
021702628c
commit
868e28f309
@ -1,6 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
Usage: python palfix.py image.png
|
||||
|
||||
Fix the palette format of the input image. Colored images (Pokémon or trainer
|
||||
sprites) will become indexed, with a palette sorted {white, light color, dark
|
||||
color, black}. Grayscale images will become two-bit grayscale.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
|
@ -2,7 +2,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
Usage: ./sym_comments.py file.asm [pokecrystal.sym] > file_commented.asm
|
||||
Usage: python3 sym_comments.py file.asm [pokecrystal.sym] > file_commented.asm
|
||||
|
||||
Comments each label in file.asm with its bank:address from the sym file.
|
||||
"""
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
"""
|
||||
Usage: python3 toc.py [-n] files.md...
|
||||
|
||||
Replace a "## TOC" heading in a Markdown file with a table of contents,
|
||||
generated from the other headings in the file. Supports multiple files.
|
||||
Headings must start with "##" signs to be detected.
|
||||
|
Loading…
Reference in New Issue
Block a user