@@ -43,7 +43,7 @@ public interface IFluentCommandLineParser
43
43
/// <exception cref="OptionAlreadyExistsException">
44
44
/// A Option with the same <paramref name="shortOption"/> name or <paramref name="longOption"/> name already exists in the <see cref="IFluentCommandLineParser"/>.
45
45
/// </exception>
46
- /// <exception cref="ArgumentOutOfRangeException ">
46
+ /// <exception cref="InvalidOptionNameException ">
47
47
/// Either <paramref name="shortOption"/> or <paramref name="longOption"/> are not valid. <paramref name="shortOption"/> must not be <c>whitespace</c>
48
48
/// or a control character. <paramref name="longOption"/> must not be <c>null</c>, <c>empty</c> or only <c>whitespace</c>.
49
49
/// </exception>
@@ -54,6 +54,7 @@ public interface IFluentCommandLineParser
54
54
/// </summary>
55
55
/// <param name="shortOption">The short name for the Option. This must not be <c>whitespace</c> or a control character.</param>
56
56
/// <returns></returns>
57
+ /// <exception cref="InvalidOptionNameException">if <paramref name="shortOption"/> is invalid for a short option.</exception>
57
58
/// <exception cref="OptionAlreadyExistsException">
58
59
/// A Option with the same <paramref name="shortOption"/> name
59
60
/// already exists in the <see cref="IFluentCommandLineParser"/>.
@@ -64,7 +65,7 @@ public interface IFluentCommandLineParser
64
65
/// Setup a new <see cref="ICommandLineOptionFluent{T}"/> using the specified long Option name.
65
66
/// </summary>
66
67
/// <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 >
68
69
/// <exception cref="OptionAlreadyExistsException">
69
70
/// A Option with the same <paramref name="longOption"/> name already exists in the <see cref="IFluentCommandLineParser"/>.
70
71
/// </exception>
0 commit comments