Mercurial > touhou
comparison pytouhou/options.py @ 773:317e93b7d586 default tip
Python: Remove the GTK menu
author | Link Mauve <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 28 Apr 2025 13:03:20 +0200 |
parents | 7492d384d122 |
children |
comparison
equal
deleted
inserted
replaced
772:7492d384d122 | 773:317e93b7d586 |
---|---|
116 | 116 |
117 parser.add_argument('data', metavar='DAT', nargs='*', help='Game’s data files') | 117 parser.add_argument('data', metavar='DAT', nargs='*', help='Game’s data files') |
118 parser.add_argument('-p', '--path', metavar='DIRECTORY', help='Game directory path.') | 118 parser.add_argument('-p', '--path', metavar='DIRECTORY', help='Game directory path.') |
119 parser.add_argument('--debug', action='store_true', help='Set unlimited continues, and perhaps other debug features.') | 119 parser.add_argument('--debug', action='store_true', help='Set unlimited continues, and perhaps other debug features.') |
120 parser.add_argument('--verbosity', metavar='VERBOSITY', choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'], help='Select the wanted logging level.') | 120 parser.add_argument('--verbosity', metavar='VERBOSITY', choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'], help='Select the wanted logging level.') |
121 parser.add_argument('--no-menu', action='store_true', help='Disable the menu.') | |
122 | 121 |
123 game_group = parser.add_argument_group('Game options') | 122 game_group = parser.add_argument_group('Game options') |
124 game_group.add_argument('-s', '--stage', metavar='STAGE', type=int, help='Stage, 1 to 7 (Extra), nothing means story mode.') | 123 game_group.add_argument('-s', '--stage', metavar='STAGE', type=int, help='Stage, 1 to 7 (Extra), nothing means story mode.') |
125 game_group.add_argument('-r', '--rank', metavar='RANK', type=int, help='Rank, from 0 (Easy, default) to 3 (Lunatic).') | 124 game_group.add_argument('-r', '--rank', metavar='RANK', type=int, help='Rank, from 0 (Easy, default) to 3 (Lunatic).') |
126 game_group.add_argument('-c', '--character', metavar='CHARACTER', type=int, help='Select the character to use, from 0 (ReimuA, default) to 3 (MarisaB).') | 125 game_group.add_argument('-c', '--character', metavar='CHARACTER', type=int, help='Select the character to use, from 0 (ReimuA, default) to 3 (MarisaB).') |