Browse Source

Réorganisation de l'ordre des arguments dans la page d'aide

pull/2/head
Darks 2 years ago
parent
commit
ea7d2e035f
Signed by: Darks GPG Key ID: F61F10FA138E797C
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      sprite-optimizer.py

+ 2
- 2
sprite-optimizer.py View File

@ -167,13 +167,13 @@ if __name__ == "__main__":
parser = ArgumentParser(description='Generate the Multi DrawStat code for an image.')
parser.add_argument('path', type=str, help='path of the image to process')
parser.add_argument('-d', '--draw', action='store_true', help='draw the result into a new file')
parser.add_argument('-e', '--export', nargs=1, help='export the code into <EXPORT>')
parser.add_argument('-o', '--offset', nargs=2, default=(0, 0), help='offset for viewwindow. Default: (0, 0)')
parser.add_argument('-f', '--flip', action='store_true', help='flip image vertically (for inverted ViewWindow)')
parser.add_argument('-i', '--info', action='store_true', help='print informative stats')
parser.add_argument('-o', '--offset', nargs=2, default=(0, 0), help='offset for viewwindow. Default: (0, 0)')
parser.add_argument('-p', '--progress', action='store_true', help='print progress info')
parser.add_argument('-s', '--show', action='store_true', help='show the result')
parser.add_argument('-d', '--draw', action='store_true', help='draw the result into a new file')
args = parser.parse_args()


Loading…
Cancel
Save