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/Builder/CommandLineBuilderExtensions.cs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -100,8 +100,9 @@ public static CommandLineBuilder CancelOnProcessTermination(this CommandLineBuil
100
100
/// Enables the parser to recognize command line directives.
101
101
/// </summary>
102
102
/// <param name="builder">A command line builder.</param>
103
-
/// <param name="value">If set to <see langword="true"/>, then directives are enabled. Otherwise, they are parsed like any other token.</param>
103
+
/// <param name="value"><see langword="true" /> to enable directives. <see langword="false" /> to parse directive-like tokens in the same way as any other token.</param>
104
104
/// <returns>The same instance of <see cref="CommandLineBuilder"/>.</returns>
@@ -114,7 +115,8 @@ public static CommandLineBuilder EnableDirectives(
114
115
/// <summary>
115
116
/// Determines the behavior when parsing a double dash (<c>--</c>) in a command line.
116
117
/// </summary>
117
-
/// <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>
118
+
/// <param name="builder">A command line builder.</param>
119
+
/// <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>
/// <returns>The same instance of <see cref="CommandLineBuilder"/>.</returns>
132
134
/// <remarks>
133
135
/// POSIX conventions recommend that single-character options be allowed to be specified together after a single <c>-</c> prefix. When <see cref="EnablePosixBundling"/> is set to <see langword="true"/>, the following command lines are equivalent:
Copy file name to clipboardExpand all lines: src/System.CommandLine/Parsing/Parser.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -23,22 +23,22 @@ public Parser(Command command) : this(new CommandLineConfiguration(command))
23
23
}
24
24
25
25
/// <summary>
26
-
/// Initializes a new instance of the Parserclass with using the default <seealso cref="RootCommand"/>.
26
+
/// Initializes a new instance of the <see cref="Parser" /> class using the default <see cref="RootCommand"/>.
27
27
/// </summary>
28
28
publicParser():this(newRootCommand())
29
29
{
30
30
}
31
31
32
32
/// <summary>
33
-
/// The configuration on which the parser's grammar and behaviors are based.
33
+
/// Gets the configuration on which the parser's grammar and behaviors are based.
34
34
/// </summary>
35
35
publicCommandLineConfigurationConfiguration{get;}
36
36
37
37
/// <summary>
38
38
/// Parses a list of arguments.
39
39
/// </summary>
40
40
/// <param name="arguments">The string array typically passed to a program's <c>Main</c> method.</param>
41
-
/// <param name="rawInput">Holds the value of a complete command line input prior to splitting and tokenization, when provided. This will typically not be available when the parser is called from <c>Program.Main</c>. It is primarily used when calculating completions via the <c>dotnet-suggest</c> tool.</param>
41
+
/// <param name="rawInput">The complete command line input prior to splitting and tokenization. This input is not typically available when the parser is called from <c>Program.Main</c>. It is primarily used when calculating completions via the <c>dotnet-suggest</c> tool.</param>
42
42
/// <returns>A <see cref="ParseResult"/> providing details about the parse operation.</returns>
0 commit comments