@@ -223,10 +223,10 @@ public static HelpText AutoBuild<T>(
223223 ReflectionHelper . GetAttribute < AssemblyUsageAttribute > ( )
224224 . Do ( usage => usage . AddToHelpText ( auto , true ) ) ;
225225
226- if ( ( verbsIndex && parserResult . TypeInfo . Multiple . Any ( ) ) || errors . Any ( e => e . Tag == ErrorType . NoVerbSelectedError ) )
226+ if ( ( verbsIndex && parserResult . TypeInfo . Choices . Any ( ) ) || errors . Any ( e => e . Tag == ErrorType . NoVerbSelectedError ) )
227227 {
228228 auto . AddDashesToOption = false ;
229- auto . AddVerbs ( parserResult . TypeInfo . Multiple . ToArray ( ) ) ;
229+ auto . AddVerbs ( parserResult . TypeInfo . Choices . ToArray ( ) ) ;
230230 }
231231 else
232232 auto . AddOptions ( parserResult ) ;
@@ -335,7 +335,7 @@ public HelpText AddOptions<T>(ParserResult<T> result)
335335 if ( result == null ) throw new ArgumentNullException ( "result" ) ;
336336
337337 return AddOptionsImpl (
338- GetSpecificationsFromType ( result . TypeInfo . Single ) ,
338+ GetSpecificationsFromType ( result . TypeInfo . Current ) ,
339339 SentenceBuilder . RequiredWord ( ) ,
340340 MaximumDisplayWidth ) ;
341341 }
@@ -368,7 +368,7 @@ public HelpText AddOptions<T>(int maximumLength, ParserResult<T> result)
368368 if ( result == null ) throw new ArgumentNullException ( "result" ) ;
369369
370370 return AddOptionsImpl (
371- GetSpecificationsFromType ( result . TypeInfo . Single ) ,
371+ GetSpecificationsFromType ( result . TypeInfo . Current ) ,
372372 SentenceBuilder . RequiredWord ( ) ,
373373 maximumLength ) ;
374374 }
@@ -426,12 +426,12 @@ public static string RenderParsingErrorsText<T>(
426426 . ToString ( ) ;
427427 }
428428
429- public static string RenderUsageText < T > ( ParserResult < T > parserResult )
430- {
431- if ( parserResult == null ) throw new ArgumentNullException ( "parserResult" ) ;
429+ // public static string RenderUsageText<T>(ParserResult<T> parserResult)
430+ // {
431+ // if (parserResult == null) throw new ArgumentNullException("parserResult");
432432
433-
434- }
433+ // var examples = GetUsageFromType()
434+ // }
435435
436436 /// <summary>
437437 /// Returns the help screen as a <see cref="System.String"/>.
0 commit comments