show help if no action option is given

This commit is contained in:
Ronald Schaten 2013-03-19 07:15:24 +01:00
parent d6ca5b783c
commit 393caae381

View File

@ -275,5 +275,7 @@ if __name__ == '__main__':
mail_single_entries(session)
if options.daily:
mail_daily_digest(session)
if not (options.fetch or options.single or options.daily):
parser.print_help()
session.commit()