This is a minor refactor to avoid duplication of the command line parameter information and making it easier to maintain.
move cmd param setup for build into own method to avoid duplication
❤️ Thanks! I had this done in another branch somewhere but never pushed it!
Update history to reflect merge of #1637
Wow that was fast. Thanks!