From 5059c335c46c3d250deaa6afaca2f7740bdddf36 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 22 Sep 2010 17:14:42 +0200 Subject: Correct documentation on evemu-play usage The data should be directed into the program, not given as argument. Also make evemu-play complain if given two arguments. Signed-off-by: Henrik Rydberg --- tools/evemu-play.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/evemu-play.c b/tools/evemu-play.c index 54a16d9..286bf6a 100644 --- a/tools/evemu-play.c +++ b/tools/evemu-play.c @@ -34,7 +34,7 @@ int main(int argc, char *argv[]) { int fd; - if (argc < 2) { + if (argc != 2) { fprintf(stderr, "Usage: %s \n", argv[0]); fprintf(stderr, "\n"); fprintf(stderr, "Event data is read from standard input.\n"); -- cgit v1.2.3