File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ static void Main(string[] args)
1212 // Show help if nothing is input
1313 if ( args == null || args . Length == 0 )
1414 {
15+ Console . WriteLine ( "At least one argument is required" ) ;
1516 ShowHelp ( ) ;
1617 return ;
1718 }
@@ -20,6 +21,7 @@ static void Main(string[] args)
2021 Feature feature = DeriveFeature ( args [ 0 ] ) ;
2122 if ( feature == Feature . NONE )
2223 {
24+ Console . WriteLine ( "The feature could not be derived" ) ;
2325 ShowHelp ( ) ;
2426 return ;
2527 }
@@ -28,6 +30,7 @@ static void Main(string[] args)
2830 var downloader = CreateDownloader ( feature , args ) ;
2931 if ( downloader == null )
3032 {
33+ Console . WriteLine ( "A downloader could not be created from the inputs" ) ;
3134 ShowHelp ( ) ;
3235 return ;
3336 }
@@ -45,6 +48,7 @@ static void Main(string[] args)
4548 }
4649 else if ( downloaderResult . Count == 0 && downloader . Feature != Feature . Packs )
4750 {
51+ Console . WriteLine ( "No results were found" ) ;
4852 ShowHelp ( ) ;
4953 }
5054 }
You can’t perform that action at this time.
0 commit comments