@@ -348,10 +348,10 @@ public Task Should_Output_Default_Command_And_Additional_Commands_When_Default_C
348
348
fixture . SetDefaultCommand < LionCommand > ( ) ;
349
349
fixture . Configure ( configurator =>
350
350
{
351
- configurator . SetApplicationName ( "myapp" ) ;
352
- configurator . AddExample ( "20" , "--alive" ) ;
353
- configurator . AddCommand < GiraffeCommand > ( "giraffe" ) ;
354
- configurator . SetHelpProvider ( new RenderMarkupHelpProvider ( configurator . Settings ) ) ;
351
+ configurator . SetApplicationName ( "myapp" )
352
+ . SetHelpProvider ( new RenderMarkupHelpProvider ( configurator . Settings ) )
353
+ . AddExample ( "20" , "--alive" )
354
+ . AddCommand < GiraffeCommand > ( "giraffe" ) ;
355
355
} ) ;
356
356
357
357
// When
@@ -539,10 +539,9 @@ public Task Should_Output_Custom_Help_When_Configured_By_Type()
539
539
fixture . Configure ( configurator =>
540
540
{
541
541
// Configure the custom help provider type
542
- configurator . SetHelpProvider < RedirectHelpProvider > ( ) ;
543
-
544
- configurator . SetApplicationName ( "myapp" ) ;
545
- configurator . AddCommand < DogCommand > ( "dog" ) ;
542
+ configurator . SetHelpProvider < RedirectHelpProvider > ( )
543
+ . SetApplicationName ( "myapp" )
544
+ . AddCommand < DogCommand > ( "dog" ) ;
546
545
} ) ;
547
546
548
547
// When
@@ -952,12 +951,12 @@ public Task Should_Output_Examples_Defined_On_Root_If_Default_Command_Is_Specifi
952
951
configurator . SetApplicationName ( "myapp" ) ;
953
952
954
953
// All root examples should be shown
955
- configurator . AddExample ( "--name" , "Rufus" , "--age" , "12" , "--good-boy" ) ;
956
- configurator . AddExample ( "--name" , "Luna" ) ;
957
- configurator . AddExample ( "--name" , "Charlie" ) ;
958
- configurator . AddExample ( "--name" , "Bella" ) ;
959
- configurator . AddExample ( "--name" , "Daisy" ) ;
960
- configurator . AddExample ( "--name" , "Milo" ) ;
954
+ configurator . AddExample ( "--name" , "Rufus" , "--age" , "12" , "--good-boy" )
955
+ . AddExample ( "--name" , "Luna" )
956
+ . AddExample ( "--name" , "Charlie" )
957
+ . AddExample ( "--name" , "Bella" )
958
+ . AddExample ( "--name" , "Daisy" )
959
+ . AddExample ( "--name" , "Milo" ) ;
961
960
} ) ;
962
961
963
962
// When
0 commit comments