@@ -344,26 +344,45 @@ def main_entry() -> None:
344
344
description = description , formatter_class = argparse .RawDescriptionHelpFormatter
345
345
)
346
346
347
- h = 'Exposure to test the delay for in seconds. Default: 1'
348
- parser .add_argument ('-e' , '--exposure' , type = float , default = 1.0 , help = h )
347
+ parser .add_argument (
348
+ '-e' ,
349
+ '--exposure' ,
350
+ type = float ,
351
+ default = 1.0 ,
352
+ help = 'Exposure to test the delay for in seconds. Default: 1' ,
353
+ )
349
354
350
355
parser .add_argument (
351
- '-a' , '--variable_headers' ,
352
- type = str ,
356
+ '-a' ,
357
+ '--variable_headers' ,
358
+ type = str ,
353
359
default = None ,
354
360
help = (
355
361
'Comma-delimited list of variable header keys to calibrate for. '
356
362
'For default, see `src/instamatic/controller.py:MOVIE_HEADER_KEYS_VARIABLE`.'
357
- )
363
+ ),
358
364
)
359
365
360
- h = 'Comma-delimited list of common header keys to calibrate for. '
361
- h += 'For default, see `src/instamatic/controller.py:MOVIE_HEADER_KEYS_COMMON`.'
362
- parser .add_argument ('-c' , '--common_headers' , type = str , default = None , help = h )
366
+ parser .add_argument (
367
+ '-c' ,
368
+ '--common_headers' ,
369
+ type = str ,
370
+ default = None ,
371
+ help = (
372
+ 'Comma-delimited list of common header keys to calibrate for. '
373
+ 'For default, see `src/instamatic/controller.py:MOVIE_HEADER_KEYS_COMMON`.'
374
+ ),
375
+ )
363
376
364
- h = 'Path to the directory where calibration file should be output. '
365
- h += 'Default: "%%appdata%%/calib" (Windows) or "$AppData/calib" (Unix).'
366
- parser .add_argument ('-o' , '--outdir' , type = str , help = h )
377
+ parser .add_argument (
378
+ '-o' ,
379
+ '--outdir' ,
380
+ type = str ,
381
+ help = (
382
+ 'Path to the directory where calibration file should be output. '
383
+ 'Default: "%%appdata%%/calib" (Windows) or "$AppData/calib" (Unix).'
384
+ ),
385
+ )
367
386
368
387
options = parser .parse_args ()
369
388
0 commit comments