summaryrefslogtreecommitdiff
path: root/pysquaredeal.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2024-01-21 12:48:23 +0100
committeremkael <emkael@tlen.pl>2024-01-21 12:48:23 +0100
commit61d0747fc11327cc2925cbe6cddd984ba1ef9a7e (patch)
treea39ea69cf8c8a1d0c9c51b7876266263e0556c73 /pysquaredeal.py
parentc64ba72cce68441a4a236f57ae9c63ddfdf93119 (diff)
Allowing for X-Y range in phase/session to generate
Diffstat (limited to 'pysquaredeal.py')
-rw-r--r--pysquaredeal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pysquaredeal.py b/pysquaredeal.py
index 1b74357..346e1a6 100644
--- a/pysquaredeal.py
+++ b/pysquaredeal.py
@@ -34,8 +34,8 @@ argparser_di = subparsers.add_parser('set_dv', help='edit event delayed informat
argparser_di.add_argument('delayed_information', metavar='DELAYED_INFO', help='value of delayed information')
argparser_generate = subparsers.add_parser('generate', help='generate PBN')
-argparser_generate.add_argument('phase', nargs='?', type=int, metavar='PHASE', help='phase number, if empty, all phases will be generated')
-argparser_generate.add_argument('session', nargs='?', type=int, metavar='SESSION', help='session number, if empty, all sessions will be generated')
+argparser_generate.add_argument('phase', nargs='?', metavar='PHASE', help='phase number or range, if empty, all phases will be generated')
+argparser_generate.add_argument('session', nargs='?', metavar='SESSION', help='session number or range, if empty, all sessions will be generated')
argparser_generate.add_argument('--reserve', action='store_true', help='generate reserve board set')
arguments = argparser.parse_args()