Ended up going back to flag.Arg because os.Args requires checking the index for optional args, where flag.Arg gives an empty string. Slightly simpler.