Skip to content

Commit

Permalink
Fix #8: switched NameTransform XML comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenGroot committed Apr 6, 2023
1 parent 66cf723 commit c91e3a3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Ookii.CommandLine/NameTransform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ public enum NameTransform
/// </summary>
CamelCase,
/// <summary>
/// The names are transformed to snake_case. This removes leading and trailing underscores,
/// changes all characters to lower-case, and reduces consecutive underscores to a single
/// underscore. An underscore is inserted before previously capitalized letters.
/// The names are transformed to dash-case. This removes leading and trailing underscores,
/// changes all characters to lower-case, replaces underscores with a dash, and reduces
/// consecutive underscores to a single dash. A dash is inserted before previously
/// capitalized letters.
/// </summary>
DashCase,
/// <summary>
/// The names are transformed to dash-case. Similar to <see cref="SnakeCase"/>, but uses a
/// dash instead of an underscore.
/// The names are transformed to snake_case. Similar to <see cref="DashCase"/>, but uses an
/// underscore instead of a dash.
/// </summary>
SnakeCase
}
Expand Down

0 comments on commit c91e3a3

Please sign in to comment.