diff -r 83e9bff09a0b -r b95ad8c8bb4e bin/pvl.hosts-reverse --- a/bin/pvl.hosts-reverse Sun Mar 01 22:39:05 2015 +0200 +++ b/bin/pvl.hosts-reverse Sun Mar 01 23:16:18 2015 +0200 @@ -46,8 +46,12 @@ else: log.info("using given hosts path %s for reverse --zone-prefix: %s", zone_prefix, prefix) + elif args: + log.fatal("--zone-prefix is required if passing multiple hosts files") + return 1 + else: - log.fatal("--zone-prefix is required if passing multiple hosts files") + log.fatal("no hosts given as input") return 1 if options.unknown_host and not options.hosts_domain: