scripts/gray_visual.py: fix default of -k

This commit is contained in:
Michele Guerini Rocco 2024-10-17 15:20:23 +02:00 committed by rnhmjoj
parent 10d65c1b8e
commit 45017c417e
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -25,7 +25,7 @@ def cli_args() -> argparse.Namespace:
'(containing gray.ini)')
parser.add_argument('outputs', type=Path,
help='filepath of the outputs directory')
parser.add_argument('--kind', '-k', default='raytracing', nargs='+',
parser.add_argument('--kind', '-k', default=['raytracing'], nargs='+',
choices=['raytracing', 'beam', 'profiles', 'inputs'],
help='which kind of information to visualise')
parser.add_argument('--outfile', '-o',