show help if no action option is given
This commit is contained in:
parent
d6ca5b783c
commit
393caae381
@ -275,5 +275,7 @@ if __name__ == '__main__':
|
|||||||
mail_single_entries(session)
|
mail_single_entries(session)
|
||||||
if options.daily:
|
if options.daily:
|
||||||
mail_daily_digest(session)
|
mail_daily_digest(session)
|
||||||
|
if not (options.fetch or options.single or options.daily):
|
||||||
|
parser.print_help()
|
||||||
|
|
||||||
session.commit()
|
session.commit()
|
||||||
|
Loading…
Reference in New Issue
Block a user