Sys.argv command line parsing (documentation)

This is probably what you want to look at instead:

in the settings for “Apps → Default apps”