From 1e3a959728d8edc480539c0a1b84e7ff9bd9459e Mon Sep 17 00:00:00 2001
From: Dmitri Davydok <dmitrid@microsoft.com>
Date: Sun, 22 Oct 2017 16:40:36 -0700
Subject: [PATCH 1/2] Fix typo in the BootstrapPaket target

---
 src/CommandLine/CommandLine.csproj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CommandLine/CommandLine.csproj b/src/CommandLine/CommandLine.csproj
index 7b791726..854d5e4a 100644
--- a/src/CommandLine/CommandLine.csproj
+++ b/src/CommandLine/CommandLine.csproj
@@ -152,7 +152,7 @@
   -->
   <Target Name="BeforeBuild" DependsOnTargets="PaketInstall">
   </Target>
-  <Target Name="BootstrapPaket" Condition="!Exists('$(SolutionDir).paket/paket.bootstrapper.exe)')">
+  <Target Name="BootstrapPaket" Condition="Exists('$(SolutionDir).paket/paket.bootstrapper.exe')">
     <Exec Command="$(SolutionDir).paket/paket.bootstrapper.exe" />
   </Target>
   <Target Name="PaketInstall" DependsOnTargets="BootstrapPaket" Condition="!Exists('$(SolutionDir)paket-files')">

From 8184b7ab2be8dff89e19bd8ffe77452ee342ce35 Mon Sep 17 00:00:00 2001
From: Dmitri Davydok <dmitrid@microsoft.com>
Date: Sun, 22 Oct 2017 16:54:18 -0700
Subject: [PATCH 2/2] Typos in comments and demo text. Ignore everything under
 .vs

---
 .gitignore                       | 3 ++-
 demo/ReadText.Demo.VB/Options.vb | 4 ++--
 demo/ReadText.Demo/Options.cs    | 4 ++--
 src/CommandLine/Parser.cs        | 4 ++--
 4 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index 2f2f78c8..77b9880e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,10 +38,11 @@ StyleCop.Cache
 *.cache
 docs/output/*
 artifacts/*
-.vs/*
 *.xproj.user
 *.nuget.targets
 *.lock.json
 *.nuget.props
 *.DotSettings.user
+# Visual Studio 2015 cache/options directory
+.vs/
 
diff --git a/demo/ReadText.Demo.VB/Options.vb b/demo/ReadText.Demo.VB/Options.vb
index eb87238f..3e492001 100644
--- a/demo/ReadText.Demo.VB/Options.vb
+++ b/demo/ReadText.Demo.VB/Options.vb
@@ -9,7 +9,7 @@ Public Interface IOptions
     <[Option]("c"c, "bytes", SetName:="bybytes", HelpText:="Bytes to be printed from the beginning or end of the file.")>
     Property Bytes As UInteger?
 
-    <[Option]("q"c, "quiet", HelpText:="Supresses summary messages.")>
+    <[Option]("q"c, "quiet", HelpText:="Suppresses summary messages.")>
     Property Quiet As Boolean
 
     <[Value](0, MetaName:="input file", Required:=True, HelpText:="Input file to be processed.")>
@@ -33,7 +33,7 @@ Public Class HeadOptions
         Get
             Yield New Example("normal scenario", New HeadOptions With {.FileName = "file.bin"})
             Yield New Example("specify bytes", New HeadOptions With {.FileName = "file.bin", .Bytes = 100})
-            Yield New Example("supress summary", UnParserSettings.WithGroupSwitchesOnly(), New HeadOptions With {.FileName = "file.bin", .Quiet = True})
+            Yield New Example("suppress summary", UnParserSettings.WithGroupSwitchesOnly(), New HeadOptions With {.FileName = "file.bin", .Quiet = True})
             Yield New Example("read more lines", New UnParserSettings() {UnParserSettings.WithGroupSwitchesOnly(), UnParserSettings.WithUseEqualTokenOnly()}, New HeadOptions With {.FileName = "file.bin", .Lines = 10})
         End Get
     End Property
diff --git a/demo/ReadText.Demo/Options.cs b/demo/ReadText.Demo/Options.cs
index 99f97208..ed4db350 100644
--- a/demo/ReadText.Demo/Options.cs
+++ b/demo/ReadText.Demo/Options.cs
@@ -18,7 +18,7 @@ interface IOptions
         uint? Bytes { get; set; }
 
         [Option('q', "quiet",
-            HelpText = "Supresses summary messages.")]
+            HelpText = "Suppresses summary messages.")]
         bool Quiet { get; set; }
 
         [Value(0, MetaName = "input file",
@@ -45,7 +45,7 @@ public static IEnumerable<Example> Examples
             {
                 yield return new Example("normal scenario", new HeadOptions { FileName = "file.bin"});
                 yield return new Example("specify bytes", new HeadOptions { FileName = "file.bin", Bytes=100 });
-                yield return new Example("supress summary", UnParserSettings.WithGroupSwitchesOnly(), new HeadOptions { FileName = "file.bin", Quiet = true });
+                yield return new Example("suppress summary", UnParserSettings.WithGroupSwitchesOnly(), new HeadOptions { FileName = "file.bin", Quiet = true });
                 yield return new Example("read more lines", new[] { UnParserSettings.WithGroupSwitchesOnly(), UnParserSettings.WithUseEqualTokenOnly() }, new HeadOptions { FileName = "file.bin", Lines = 10 });
             }
         }
diff --git a/src/CommandLine/Parser.cs b/src/CommandLine/Parser.cs
index 69a7e862..a1c5cbdf 100644
--- a/src/CommandLine/Parser.cs
+++ b/src/CommandLine/Parser.cs
@@ -108,7 +108,7 @@ public ParserResult<T> ParseArguments<T>(IEnumerable<string> args)
         /// Grammar rules are defined decorating public properties with appropriate attributes.
         /// </summary>
         /// <typeparam name="T">Type of the target instance built with parsed value.</typeparam>
-        /// <param name="factory">A <see cref="System.Func{T}"/> delegate used to intitalize the target instance.</param>
+        /// <param name="factory">A <see cref="System.Func{T}"/> delegate used to initialize the target instance.</param>
         /// <param name="args">A <see cref="System.String"/> array of command line arguments, normally supplied by application entry point.</param>
         /// <returns>A <see cref="CommandLine.ParserResult{T}"/> containing an instance of type <typeparamref name="T"/> with parsed values
         /// and a sequence of <see cref="CommandLine.Error"/>.</returns>
@@ -143,7 +143,7 @@ public ParserResult<T> ParseArguments<T>(Func<T> factory, IEnumerable<string> ar
         /// and a sequence of <see cref="CommandLine.Error"/>.</returns>
         /// <exception cref="System.ArgumentNullException">Thrown if one or more arguments are null.</exception>
         /// <exception cref="System.ArgumentOutOfRangeException">Thrown if <paramref name="types"/> array is empty.</exception>
-        /// <remarks>All types must expose a parameterless constructor. It's stronly recommended to use a generic overload.</remarks>
+        /// <remarks>All types must expose a parameterless constructor. It's strongly recommended to use a generic overload.</remarks>
         public ParserResult<object> ParseArguments(IEnumerable<string> args, params Type[] types)
         {
             if (args == null) throw new ArgumentNullException("args");
