Skip to content

Commit 7a5ab9e

Browse files
authored
a couple of minor XML doc fixes (#2702)
1 parent 4fd06b8 commit 7a5ab9e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/System.CommandLine/Completions/CompletionContext.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ internal CompletionContext(ParseResult parseResult, string wordToComplete)
2323
WordToComplete = wordToComplete;
2424
}
2525

26+
/// <summary>
2627
/// The text of the word to be completed, if any.
28+
/// </summary>
2729
public string WordToComplete { get; }
2830

31+
/// <summary>
2932
/// The parse result for which completions are being requested.
33+
/// </summary>
3034
public ParseResult ParseResult { get; }
3135

3236
/// <summary>

src/System.CommandLine/OptionValidation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static Option<FileSystemInfo> AcceptExistingOnly(this Option<FileSystemIn
4646
}
4747

4848
/// <summary>
49-
/// Configures an option to accept only values corresponding to a existing files or directories.
49+
/// Configures an option to accept only values corresponding to existing files or directories.
5050
/// </summary>
5151
/// <param name="option">The option to configure.</param>
5252
/// <returns>The option being extended.</returns>

0 commit comments

Comments
 (0)