Fix handling of argument aliases

Visibility of aliases was incorrectly handled before, this has been resolved. The environment variables have now also been merged into the alias list, which is a more sensible place for it to go.

Created by  finchie  on November 25, 2023
YBAXVS44BAEHH6KDZRQEYKRCYZPKDEQ2TFOXAPGHQNZOBYWVUGWAC
Change contents