diff --git a/.travis.yml b/.travis.yml index 630ade8..7a867f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,7 @@ script: - "cd .." - "python tests.py" - "python setup.py install" - - "parsedmarc -c ci.ini" + - "parsedmarc -c ci.ini samples/aggregate/*" + - "parsedmarc -c ci.ini samples/forensic/*" - "python setup.py sdist" - "python setup.py bdist_wheel" diff --git a/parsedmarc/cli.py b/parsedmarc/cli.py index e09401a..f9c1e65 100644 --- a/parsedmarc/cli.py +++ b/parsedmarc/cli.py @@ -309,7 +309,7 @@ def _main(): fh.setFormatter(formatter) logger.addHandler(fh) if opts.imap_host is None and len(opts.file_path) == 0: - arg_parser.print_help() + logger.error("You must supply input files, or an IMAP configuration") exit(1) if opts.save_aggregate or opts.save_forensic: