From dba36874892b2bef8c83d42e96dfab2bb450af05 Mon Sep 17 00:00:00 2001 From: Farwaykorse Date: Tue, 3 Dec 2019 10:00:53 +0100 Subject: [PATCH 1/2] Fix typo in example in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 561ec43bd..fae9f87c4 100644 --- a/README.md +++ b/README.md @@ -355,9 +355,9 @@ The next example selects a few rules to execute instead of all the default rules } ``` -Then invoke that settings file when using: +Then invoke that settings file: ``` PowerShell -Invoke-ScriptAnalyzer -Path MyScript.ps1 -Setting ScriptAnalyzerSettings.psd1 +Invoke-ScriptAnalyzer -Path MyScript.ps1 -Setting PSScriptAnalyzerSettings.psd1 ``` ## Implicit From d72779e70a646f562eceaaf0f9b44153fd006e3e Mon Sep 17 00:00:00 2001 From: Farwaykorse Date: Tue, 3 Dec 2019 19:53:02 +0100 Subject: [PATCH 2/2] Use full parameter name Settings in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fae9f87c4..e7cfd78ad 100644 --- a/README.md +++ b/README.md @@ -342,7 +342,7 @@ that does not output an Error or Warning diagnostic record. Then invoke that settings file when using `Invoke-ScriptAnalyzer`: ``` PowerShell -Invoke-ScriptAnalyzer -Path MyScript.ps1 -Setting PSScriptAnalyzerSettings.psd1 +Invoke-ScriptAnalyzer -Path MyScript.ps1 -Settings PSScriptAnalyzerSettings.psd1 ``` The next example selects a few rules to execute instead of all the default rules. @@ -357,7 +357,7 @@ The next example selects a few rules to execute instead of all the default rules Then invoke that settings file: ``` PowerShell -Invoke-ScriptAnalyzer -Path MyScript.ps1 -Setting PSScriptAnalyzerSettings.psd1 +Invoke-ScriptAnalyzer -Path MyScript.ps1 -Settings PSScriptAnalyzerSettings.psd1 ``` ## Implicit