Skip to content

Commit

Permalink
Reword source generation recommendation.
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenGroot committed Jul 14, 2023
1 parent 2c3918b commit 166cced
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/Migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ As of version 3.0, .Net Framework 2.0 is no longer supported. You can still targ

## Breaking API changes from version 3.0

- It's strongly recommended to use [source generation](SourceGeneration.md) unless you cannot meet
the requirements.
- It's strongly recommended to apply the [`GeneratedParserAttribute`][] to your arguments classes
unless you cannot meet the requirements for [source generation](SourceGeneration.md).
- The `CommandLineArgumentAttribute.ValueDescription` property has been replaced by the
[`ValueDescriptionAttribute`][] attribute. This new attribute is not sealed, enabling derived
attributes e.g. to load a value description from a localized resource.
Expand Down Expand Up @@ -166,6 +166,7 @@ As of version 3.0, .Net Framework 2.0 is no longer supported. You can still targ
[`CommandOptions`]: https://www.ookii.org/docs/commandline-4.0/html/T_Ookii_CommandLine_Commands_CommandOptions.htm
[`CultureInfo.InvariantCulture`]: https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo.invariantculture
[`CurrentCulture`]: https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo.currentculture
[`GeneratedParserAttribute`]: https://www.ookii.org/docs/commandline-4.0/html/T_Ookii_CommandLine_GeneratedParserAttribute.htm
[`HelpRequested`]: https://www.ookii.org/docs/commandline-4.0/html/P_Ookii_CommandLine_CommandLineParser_HelpRequested.htm
[`IAsyncCommand`]: https://www.ookii.org/docs/commandline-4.0/html/T_Ookii_CommandLine_Commands_IAsyncCommand.htm
[`ICommand.Run()`]: https://www.ookii.org/docs/commandline-4.0/html/M_Ookii_CommandLine_Commands_ICommand_Run.htm
Expand Down

0 comments on commit 166cced

Please sign in to comment.