Fix: CLI should not output anything when there are no warnings (fixes #558)