diff --git a/src/CommandLine/BaseAttribute.cs b/src/CommandLine/BaseAttribute.cs
index a009111d..f91a17a2 100644
--- a/src/CommandLine/BaseAttribute.cs
+++ b/src/CommandLine/BaseAttribute.cs
@@ -123,5 +123,14 @@ public string MetaValue
metaValue = value;
}
}
+
+ ///
+ /// Gets or sets a value indicating whether a command line option is visible in the help text.
+ ///
+ public bool Hidden
+ {
+ get;
+ set;
+ }
}
}
diff --git a/src/CommandLine/Core/OptionSpecification.cs b/src/CommandLine/Core/OptionSpecification.cs
index e519ffb9..0bbbbb06 100644
--- a/src/CommandLine/Core/OptionSpecification.cs
+++ b/src/CommandLine/Core/OptionSpecification.cs
@@ -16,8 +16,8 @@ sealed class OptionSpecification : Specification
public OptionSpecification(string shortName, string longName, bool required, string setName, Maybe min, Maybe max,
char separator, Maybe