File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,12 +264,16 @@ def add_mcstas_options(parser):
264264
265265 add ('-n' , '--ncount' ,
266266 metavar = 'COUNT' , type = float , default = 1000000 ,
267- help = 'Set number of %s to simulate' % (mccode_config .configuration ["PARTICLE" ]))
267+ help = 'Set number of %ss to simulate' % (mccode_config .configuration ["PARTICLE" ]))
268268
269269 add ('-t' , '--trace' ,
270270 metavar = 'trace' , type = int , default = 0 ,
271- help = 'Enable trace of %s through instrument' % (mccode_config .configuration ["PARTICLE" ]))
272-
271+ help = 'Enable trace of %ss through instrument' % (mccode_config .configuration ["PARTICLE" ]))
272+
273+ add ('--no-trace' ,
274+ action = 'store_true' , metavar = 'notrace' , default = None ,
275+ help = 'Disable trace of %ss in instrument (combine with -c)' % (mccode_config .configuration ["PARTICLE" ]))
276+
273277 add ('-y' , '--yes' ,
274278 action = 'store_true' , default = False ,
275279 help = 'Assume any default parameter value in instrument' )
You can’t perform that action at this time.
0 commit comments