aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index 24f16bd..f423cd1 100644
--- a/main.go
+++ b/main.go
@@ -212,6 +212,11 @@ func main() {
// "-reverse" implies "-aessiv"
if args.reverse {
args.aessiv = true
+ } else {
+ if args.exclude != nil {
+ tlog.Fatal.Printf("-exclude only works in reverse mode")
+ os.Exit(exitcodes.ExcludeError)
+ }
}
// "-config"
if args.config != "" {