Though I think, `main` arguments should eliminated altogether and be accessed statically. const ReusableOpts opts = getopts(); const string[] args = mainArgs; // @property: parse args on demand, remove the code from startup.