In documented examples, --config-file is provided as a way to specify a custom config file. However, this switch is not part of the synopsis, and gives an error if used
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for reporting this @ianwalkeruk. I'll investigate this.
@karann-msft should I just remove that last example?
@mairaw - yes I guess for now we could do that.
@ianwalkeruk, I created the following issue on the nuget repo. https://github.com/NuGet/Home/issues/7272