|
| | __call__ (self, parser, namespace, values, option_string=None) |
Custom help to hide/show expert groups
Definition at line 328 of file athenaHLT.py.
◆ __call__()
| athenaHLT.MyHelp.__call__ |
( |
| self, |
|
|
| parser, |
|
|
| namespace, |
|
|
| values, |
|
|
| option_string = None ) |
Definition at line 330 of file athenaHLT.py.
330 def __call__(self, parser, namespace, values, option_string=None):
331
332 for g in parser.expert_groups:
333 for a in g._group_actions:
334 if values!='all':
335 a.help = argparse.SUPPRESS
336
337 parser.print_help()
338 if values!='all':
339 print(
'\nUse --help=all to show all (expert) options')
340 sys.exit(0)
341
342
void print(char *figname, TCanvas *c1)
The documentation for this class was generated from the following file: