Use more information from OMDb for movies

This commit is contained in:
DariusIII
2017-05-16 10:34:47 +02:00
parent f85baf623b
commit aebda97760
3 changed files with 54 additions and 15 deletions
+1 -1
View File
@@ -30,5 +30,5 @@ if (!empty($argv[1]) && !empty($argv[2]) && ($argv[2] !== 'series' || $argv[2] !
exit(ColorCLI::error('Error retrieving OMDb API data.'));
}
} else {
exit(ColorCLI::error('Invalid arguments. This script requires a text string (show name).'));
exit(ColorCLI::error('Invalid arguments. This script requires a text string (show name), and a second argument, movie or series.'));
}