Sorry, my previous post hasn't been moderated, so I can't reply to it yet.I figured it out: I needed to handle it in the HostFactory.Run call:HostFactory.Run(x =>{x.AddCommandLineDefinition("config", config => { Log.DebugFormat("config was set to: {0}", config);});