Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
[![NuGet](https://img.shields.io/nuget/vpre/commandlineparser.svg)](https://www.nuget.org/packages/CommandLineParser/)
[![Join the Gitter chat!](https://badges.gitter.im/gsscoder/commandline.svg)](https://gitter.im/gsscoder/commandline?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

# Unixwiz.net update

This is a private, independently-maintained fork of the excellent CommandLineParser package
for modern .NET applications, and has dropped support for anything but recent .NET versions.
We have an application that required a change - un-sealing the "OptionAttribute" class - and
needed to share this with a small circle of customers.

Sorry, FSharp and .netstandard support has been removed. The docs below will be edited at some
point to ensure that this README.md is not lying.

# Command Line Parser Library for CLR and NetStandard

**Note:** the API surface has changed since v1.9.x and earlier. If you are looking for documentation on v1.9.x, please see [stable-1.9.71.2](https://github.com/gsscoder/commandline/tree/stable-1.9.71.2)
Expand Down
7 changes: 4 additions & 3 deletions src/CommandLine/CommandLine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyOriginatorKeyFile>..\..\CommandLine.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PackageId Condition="'$(BuildTarget)' != 'fsharp'">CommandLineParser</PackageId>
<PackageId Condition="'$(BuildTarget)' == 'fsharp'">CommandLineParser.FSharp</PackageId>
<PackageId Condition="'$(BuildTarget)' != 'fsharp'">Unixwiz.CommandLineParser</PackageId>
<PackageId Condition="'$(BuildTarget)' == 'fsharp'">Unixwiz.CommandLineParser.FSharp</PackageId>
<Authors>gsscoder;nemec;ericnewton76;moh-hassan</Authors>
<Title>Command Line Parser Library</Title>
<Title>Command Line Parser Library - Unixwiz.net fork</Title>
<Version Condition="'$(VersionSuffix)' != ''">$(VersionSuffix)</Version>
<Version Condition="'$(VersionSuffix)' == ''">0.0.0</Version>
<Description Condition="'$(BuildTarget)' != 'fsharp'">Terse syntax C# command line parser for .NET. For FSharp support see CommandLineParser.FSharp. The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.</Description>
Expand All @@ -27,6 +27,7 @@
<LangVersion>8.0</LangVersion>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageId>Unixwiz.CommandLineParser</PackageId>
</PropertyGroup>

<ItemGroup Condition="'$(BuildTarget)' != 'fsharp'">
Expand Down
2 changes: 1 addition & 1 deletion src/CommandLine/OptionAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace CommandLine
/// Models an option specification.
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class OptionAttribute : BaseAttribute
public class OptionAttribute : BaseAttribute
{
private readonly string longName;
private readonly string shortName;
Expand Down