--- src/lrz.c.orig	1998-12-30 16:49:24.000000000 +0900
+++ src/lrz.c	2009-12-11 17:33:30.573625000 +0900
@@ -494,6 +494,8 @@
 		usage(2,_("garbage on commandline"));
 	if (protocol!=ZM_XMODEM && npats)
 		usage(2, _("garbage on commandline"));
+	if (protocol==ZM_XMODEM && !npats)
+		usage(2, _("need a file name to receive"));
 	if (Restricted && allow_remote_commands) {
 		allow_remote_commands=FALSE;
 	}

