Skip to content

Update AthOptionsParser.py - pass argparsing onto script if doing `--help`...

Will Buttinger requested to merge will-24.0-patch-72900 into 24.0

Update AthOptionsParser.py - pass argparsing onto script if doing --help option and a script is provided

This MR was triggered by me noticing that if I do:

athena MyScript.py --help

I get the athena command's help messaging, rather than the MyScript.py's help messaging, which feels inconsistent with the fact that:

athena MyScript.py --opt1 --opt2 ...

Sees the options all passed onto the argparser defined in MyScript.py

Edited by Will Buttinger

Merge request reports