diff --git a/apps/nsq_to_file/nsq_to_file.go b/apps/nsq_to_file/nsq_to_file.go
index <HASH>..<HASH> 100644
--- a/apps/nsq_to_file/nsq_to_file.go
+++ b/apps/nsq_to_file/nsq_to_file.go
@@ -72,6 +72,10 @@ func main() {
 	fs := flagSet()
 	fs.Parse(os.Args[1:])
 
+	if args := fs.Args(); len(args) > 0 {
+		log.Fatalf("unknown arguments: %s", args)
+	}
+
 	opts := NewOptions()
 	options.Resolve(opts, fs, nil)
nsq_to_file: fatally exit on unknown non-flag args