You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_api_is_not_changed.approved.txt
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,6 @@ System.CommandLine
79
79
public static CommandLineBuilder AddMiddleware(this CommandLineBuilder builder, System.Action<System.CommandLine.Invocation.InvocationContext> onInvoke, System.CommandLine.Invocation.MiddlewareOrder order = Default)
80
80
public static CommandLineBuilder CancelOnProcessTermination(this CommandLineBuilder builder, System.Nullable<System.TimeSpan> timeout = null)
81
81
public static CommandLineBuilder EnableDirectives(this CommandLineBuilder builder, System.Boolean value = True)
82
-
public static CommandLineBuilder EnableLegacyDoubleDashBehavior(this CommandLineBuilder builder, System.Boolean value = True)
83
82
public static CommandLineBuilder EnablePosixBundling(this CommandLineBuilder builder, System.Boolean value = True)
84
83
public static CommandLineBuilder RegisterWithDotnetSuggest(this CommandLineBuilder builder)
85
84
public static CommandLineBuilder UseDefaults(this CommandLineBuilder builder)
@@ -98,9 +97,8 @@ System.CommandLine
98
97
public static CommandLineBuilder UseVersionOption(this CommandLineBuilder builder)
99
98
public static CommandLineBuilder UseVersionOption(this CommandLineBuilder builder, System.String[] aliases)
/// Determines the behavior when parsing a double dash (<c>--</c>) in a command line.
51
-
/// </summary>
52
-
/// <remarks>When set to <see langword="true"/>, all tokens following <c>--</c> will be placed into the <see cref="ParseResult.UnparsedTokens"/> collection. When set to <see langword="false"/>, all tokens following <c>--</c> will be treated as command arguments, even if they match an existing option.</remarks>
Copy file name to clipboardExpand all lines: src/System.CommandLine/Builder/CommandLineBuilderExtensions.cs
-13Lines changed: 0 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -156,19 +156,6 @@ public static CommandLineBuilder EnableDirectives(
156
156
returnbuilder;
157
157
}
158
158
159
-
/// <summary>
160
-
/// Determines the behavior when parsing a double dash (<c>--</c>) in a command line.
161
-
/// </summary>
162
-
/// <param name="builder">A command line builder.</param>
163
-
/// <param name="value"><see langword="true" /> to place all tokens following <c>--</c> into the <see cref="ParseResult.UnparsedTokens"/> collection. <see langword="false" /> to treat all tokens following <c>--</c> as command arguments, even if they match an existing option.</param>
/// <param name="enableLegacyDoubleDashBehavior">Enables the legacy behavior of the <c>--</c> token, which is to ignore parsing of subsequent tokens and place them in the <see cref="ParseResult.UnparsedTokens"/> list.</param>
@@ -72,11 +68,6 @@ internal static HelpBuilder DefaultHelpBuilderFactory(BindingContext context, in
72
68
/// </summary>
73
69
publicboolEnableDirectives{get;}
74
70
75
-
/// <summary>
76
-
/// Enables the legacy behavior of the <c>--</c> token, which is to ignore parsing of subsequent tokens and place them in the <see cref="ParseResult.UnparsedTokens"/> list.
77
-
/// </summary>
78
-
publicboolEnableLegacyDoubleDashBehavior{get;}
79
-
80
71
/// <summary>
81
72
/// Gets a value indicating whether POSIX bundling is enabled.
0 commit comments