Alternatively, if the package supports commandLineArgs, the following may be used instead:
commandLineArgs