Skip to content

Commit b015d3c

Browse files
committed
updated to include exceptions thrown after changes
1 parent d8180e4 commit b015d3c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

FluentCommandLineParser/IFluentCommandLineParser.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public interface IFluentCommandLineParser
4343
/// <exception cref="OptionAlreadyExistsException">
4444
/// A Option with the same <paramref name="shortOption"/> name or <paramref name="longOption"/> name already exists in the <see cref="IFluentCommandLineParser"/>.
4545
/// </exception>
46-
/// <exception cref="ArgumentOutOfRangeException">
46+
/// <exception cref="InvalidOptionNameException">
4747
/// Either <paramref name="shortOption"/> or <paramref name="longOption"/> are not valid. <paramref name="shortOption"/> must not be <c>whitespace</c>
4848
/// or a control character. <paramref name="longOption"/> must not be <c>null</c>, <c>empty</c> or only <c>whitespace</c>.
4949
/// </exception>
@@ -54,6 +54,7 @@ public interface IFluentCommandLineParser
5454
/// </summary>
5555
/// <param name="shortOption">The short name for the Option. This must not be <c>whitespace</c> or a control character.</param>
5656
/// <returns></returns>
57+
/// <exception cref="InvalidOptionNameException">if <paramref name="shortOption"/> is invalid for a short option.</exception>
5758
/// <exception cref="OptionAlreadyExistsException">
5859
/// A Option with the same <paramref name="shortOption"/> name
5960
/// already exists in the <see cref="IFluentCommandLineParser"/>.
@@ -64,7 +65,7 @@ public interface IFluentCommandLineParser
6465
/// Setup a new <see cref="ICommandLineOptionFluent{T}"/> using the specified long Option name.
6566
/// </summary>
6667
/// <param name="longOption">The long name for the Option. This must not be <c>null</c>, <c>empty</c> or only <c>whitespace</c>.</param>
67-
/// <returns></returns>
68+
/// <exception cref="InvalidOptionNameException">if <paramref name="longOption"/> is invalid for a long option.</exception>
6869
/// <exception cref="OptionAlreadyExistsException">
6970
/// A Option with the same <paramref name="longOption"/> name already exists in the <see cref="IFluentCommandLineParser"/>.
7071
/// </exception>

0 commit comments

Comments
 (0)