diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-09-22 17:14:42 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-09-22 17:14:42 +0200 |
| commit | 5059c335c46c3d250deaa6afaca2f7740bdddf36 (patch) | |
| tree | 5cf00f7c9a3047822a3446c4073a2cb8ca9da85a /tools | |
| parent | 7a6456b7db6faa279c669db2e5838a4d6de23eda (diff) | |
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 <rydberg@euromail.se>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/evemu-play.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 34 | int main(int argc, char *argv[]) | 34 | int main(int argc, char *argv[]) |
| 35 | { | 35 | { |
| 36 | int fd; | 36 | int fd; |
| 37 | if (argc < 2) { | 37 | if (argc != 2) { |
| 38 | fprintf(stderr, "Usage: %s <device>\n", argv[0]); | 38 | fprintf(stderr, "Usage: %s <device>\n", argv[0]); |
| 39 | fprintf(stderr, "\n"); | 39 | fprintf(stderr, "\n"); |
| 40 | fprintf(stderr, "Event data is read from standard input.\n"); | 40 | fprintf(stderr, "Event data is read from standard input.\n"); |
