diff --git a/src/CommandLine/Error.cs b/src/CommandLine/Error.cs
index 2f208dec..0c2095d9 100644
--- a/src/CommandLine/Error.cs
+++ b/src/CommandLine/Error.cs
@@ -241,7 +241,7 @@ internal BadFormatTokenError(string token)
}
///
- /// Base type of all erros with name information.
+ /// Base type of all errors with name information.
///
public abstract class NamedError : Error, IEquatable
{
@@ -498,7 +498,7 @@ internal SetValueExceptionError(NameInfo nameInfo, Exception exception, object v
}
///
- /// The expection thrown from Property.SetValue
+ /// The exception thrown from Property.SetValue
///
public Exception Exception
{
diff --git a/src/CommandLine/Infrastructure/Either.cs b/src/CommandLine/Infrastructure/Either.cs
index 71666dc2..44a5cba5 100644
--- a/src/CommandLine/Infrastructure/Either.cs
+++ b/src/CommandLine/Infrastructure/Either.cs
@@ -17,7 +17,7 @@ enum EitherType
///
Left,
///
- /// Sccessful computation case.
+ /// Successful computation case.
///
Right
}
@@ -319,4 +319,4 @@ public static bool IsRight(this Either either)
return either.Tag == EitherType.Right;
}
}
-}
\ No newline at end of file
+}
diff --git a/src/CommandLine/Infrastructure/ErrorHandling.cs b/src/CommandLine/Infrastructure/ErrorHandling.cs
index 142e1461..c73b3824 100644
--- a/src/CommandLine/Infrastructure/ErrorHandling.cs
+++ b/src/CommandLine/Infrastructure/ErrorHandling.cs
@@ -1,7 +1,7 @@
//Use project level define(s) when referencing with Paket.
//#define ERRH_INTERNAL // Uncomment this to set visibility to internal.
//#define ERRH_DISABLE_INLINE_METHODS // Uncomment this to enable method inlining when compiling for >= NET 4.5.
-//#define ERRH_BUILTIN_TYPES // Uncomment this to use built-in Unit type, instead of extenral identical CSharpx.Unit.
+//#define ERRH_BUILTIN_TYPES // Uncomment this to use built-in Unit type, instead of external identical CSharpx.Unit.
using System;
using System.Collections.Generic;
@@ -345,7 +345,7 @@ public static Result MergeMessages(
///
/// If the result is a Success it executes the given function on the value.
- /// Otherwise the exisiting failure is propagated.
+ /// Otherwise the existing failure is propagated.
///
#if !ERRH_DISABLE_INLINE_METHODS
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -377,7 +377,7 @@ public static Result Flatten(
///
/// If the wrapped function is a success and the given result is a success the function is applied on the value.
- /// Otherwise the exisiting error messages are propagated.
+ /// Otherwise the existing error messages are propagated.
///
#if !ERRH_DISABLE_INLINE_METHODS
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -579,7 +579,7 @@ public static Result, TMessage> Flatten
/// If the result is a Success it executes the given Func on the value.
- /// Otherwise the exisiting failure is propagated.
+ /// Otherwise the existing failure is propagated.
///
#if !ERRH_DISABLE_INLINE_METHODS
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -593,7 +593,7 @@ public static Result SelectMany(
///
/// If the result is a Success it executes the given Func on the value.
/// If the result of the Func is a Success it maps it using the given Func.
- /// Otherwise the exisiting failure is propagated.
+ /// Otherwise the existing failure is propagated.
///
#if !ERRH_DISABLE_INLINE_METHODS
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -664,4 +664,4 @@ public static TSuccess SucceededWith(this Result m.ToString()))));
}
}
-}
\ No newline at end of file
+}
diff --git a/src/CommandLine/Infrastructure/Maybe.cs b/src/CommandLine/Infrastructure/Maybe.cs
index 63451865..4122906e 100644
--- a/src/CommandLine/Infrastructure/Maybe.cs
+++ b/src/CommandLine/Infrastructure/Maybe.cs
@@ -296,7 +296,7 @@ public static Maybe SelectMany(
#region Do Semantic
///
- /// If contans a value executes an delegate over it.
+ /// If contains a value executes an delegate over it.
///
public static void Do(this Maybe maybe, Action action)
{
@@ -308,7 +308,7 @@ public static void Do(this Maybe maybe, Action action)
}
///
- /// If contans a value executes an delegate over it.
+ /// If contains a value executes an delegate over it.
///
public static void Do(this Maybe> maybe, Action action)
{
@@ -394,4 +394,4 @@ public static IEnumerable ToEnumerable(this Maybe maybe)
return Enumerable.Empty();
}
}
-}
\ No newline at end of file
+}
diff --git a/src/CommandLine/NullInstance.cs b/src/CommandLine/NullInstance.cs
index c2ebd77a..820a2f30 100644
--- a/src/CommandLine/NullInstance.cs
+++ b/src/CommandLine/NullInstance.cs
@@ -3,10 +3,10 @@
namespace CommandLine
{
///
- /// Models a null result when constructing a in a faling verbs scenario.
+ /// Models a null result when constructing a in a failing verbs scenario.
///
public sealed class NullInstance
{
internal NullInstance() { }
}
-}
\ No newline at end of file
+}
diff --git a/src/CommandLine/Text/HelpText.cs b/src/CommandLine/Text/HelpText.cs
index b23bb804..52aa6718 100644
--- a/src/CommandLine/Text/HelpText.cs
+++ b/src/CommandLine/Text/HelpText.cs
@@ -305,7 +305,7 @@ public SentenceBuilder SentenceBuilder
/// If true the output style is consistent with verb commands (no dashes), otherwise it outputs options.
/// The maximum width of the display.
/// a comparison lambda to order options in help text
- /// The parameter is not ontly a metter of formatting, it controls whether to handle verbs or options.
+ /// The parameter is not only a matter of formatting, it controls whether to handle verbs or options.
public static HelpText AutoBuild(
ParserResult parserResult,
Func onError,
diff --git a/src/CommandLine/Text/SentenceBuilder.cs b/src/CommandLine/Text/SentenceBuilder.cs
index 1c150b67..e2c35b11 100644
--- a/src/CommandLine/Text/SentenceBuilder.cs
+++ b/src/CommandLine/Text/SentenceBuilder.cs
@@ -50,7 +50,7 @@ public static SentenceBuilder Create()
public abstract Func HelpCommandText { get; }
///
- /// Get a delegate that returns the help text of vesion command.
+ /// Get a delegate that returns the help text of version command.
/// The delegates must accept a boolean that is equal true for options; otherwise false for verbs.
///
public abstract Func VersionCommandText { get; }
diff --git a/src/CommandLine/UnParserExtensions.cs b/src/CommandLine/UnParserExtensions.cs
index 7db948e7..ed222a3e 100644
--- a/src/CommandLine/UnParserExtensions.cs
+++ b/src/CommandLine/UnParserExtensions.cs
@@ -58,7 +58,7 @@ public bool ShowHidden
///
/// Factory method that creates an instance of with GroupSwitches set to true.
///
- /// A properly initalized instance.
+ /// A properly initialized instance.
public static UnParserSettings WithGroupSwitchesOnly()
{
return new UnParserSettings { GroupSwitches = true };
@@ -67,7 +67,7 @@ public static UnParserSettings WithGroupSwitchesOnly()
///
/// Factory method that creates an instance of with UseEqualToken set to true.
///
- /// A properly initalized instance.
+ /// A properly initialized instance.
public static UnParserSettings WithUseEqualTokenOnly()
{
return new UnParserSettings { UseEqualToken = true };
diff --git a/tests/CommandLine.Tests/Fakes/Help_Fakes.cs b/tests/CommandLine.Tests/Fakes/Help_Fakes.cs
index cceb5331..978f77de 100644
--- a/tests/CommandLine.Tests/Fakes/Help_Fakes.cs
+++ b/tests/CommandLine.Tests/Fakes/Help_Fakes.cs
@@ -13,7 +13,7 @@ class Simple_Options_Without_HelpText
[Option("input-file")]
public string FileName { get; set; }
- [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visibile to the user via help text.")]
+ [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visible to the user via help text.")]
public string SecertOption { get; set; }
}
@@ -25,7 +25,7 @@ class Simple_Options_With_HelpText_Set
[Option('i', "input-file", Required = true, HelpText = "Specify input file to be processed.")]
public string FileName { get; set; }
- [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visibile to the user via help text.")]
+ [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visible to the user via help text.")]
public string SecertOption { get; set; }
}
@@ -37,7 +37,7 @@ class Simple_Options_With_HelpText_Set_To_Long_Description
[Option("input-file", HelpText = "This is a very long description of the Input File argument that gets passed in. It should be passed in as a string.")]
public string FileName { get; set; }
- [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visibile to the user via help text.")]
+ [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visible to the user via help text.")]
public string SecertOption { get; set; }
}
@@ -49,7 +49,7 @@ class Simple_Options_With_HelpText_Set_To_Long_Description_Without_Spaces
[Option("input-file", HelpText = "Before 012345678901234567890123456789 After")]
public string FileName { get; set; }
- [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visibile to the user via help text.")]
+ [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visible to the user via help text.")]
public string SecertOption { get; set; }
}
@@ -76,7 +76,7 @@ class Options_With_Usage_Attribute
[Value(0, HelpText = "Value.")]
public string Value { get; set; }
- [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visibile to the user via help text.")]
+ [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visible to the user via help text.")]
public string SecertOption { get; set; }
[Usage(ApplicationAlias = "mono testapp.exe")]
@@ -99,7 +99,7 @@ public class Secert_Verb
[Option('f', "force", SetName = "mode-f", HelpText = "Allow adding otherwise ignored files.")]
public bool Force { get; set; }
- [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visibile to the user via help text.")]
+ [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visible to the user via help text.")]
public string SecertOption { get; set; }
}
@@ -117,7 +117,7 @@ public class Add_Verb_With_Usage_Attribute
[Value(0)]
public string FileName { get; set; }
- [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visibile to the user via help text.")]
+ [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visible to the user via help text.")]
public string SecertOption { get; set; }
[Usage(ApplicationAlias = "git")]
@@ -140,7 +140,7 @@ public class Commit_Verb_With_Usage_Attribute
[Option("amend", HelpText = "Used to amend the tip of the current branch.")]
public bool Amend { get; set; }
- [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visibile to the user via help text.")]
+ [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visible to the user via help text.")]
public string SecertOption { get; set; }
[Usage(ApplicationAlias = "git")]
@@ -164,7 +164,7 @@ public class Clone_Verb_With_Usage_Attribute
HelpText = "Suppress summary message.")]
public bool Quiet { get; set; }
- [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visibile to the user via help text.")]
+ [Option("secert-option", Hidden = true, HelpText = "This is a description for a secert hidden option that should never be visible to the user via help text.")]
public string SecertOption { get; set; }
[Value(0, MetaName = "URLS",