diff --git a/FreeboxMoviePlanner.py b/FreeboxMoviePlanner.py index dcf8092..0f54490 100755 --- a/FreeboxMoviePlanner.py +++ b/FreeboxMoviePlanner.py @@ -298,9 +298,16 @@ if __name__ == '__main__': action='store_true', help='Search movies for current day only instead of a full week' ) + parser.add_argument( + '-l', '--log', + action='store_true', + help='Display move log messages' + ) args = parser.parse_args() print("Working the magic, please wait…") + if args.log: + logging.getLogger().setLevel(logging.DEBUG) if args.day: movies = TVGuideScraper._getMovies() else: