From 9dcc3507ede0d70eecf95d255ee1566327c06fc9 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Thu, 3 Dec 2015 08:39:01 -0800 Subject: [PATCH] Fix Readme & help output --- libx52/README.md | 8 ++++---- libx52/src/x52_cli.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libx52/README.md b/libx52/README.md index 7b42c8a..69e2c0e 100644 --- a/libx52/README.md +++ b/libx52/README.md @@ -26,13 +26,13 @@ You will need the following packages: * automake * autoconf -* libusb-1.0-0-dev +* libusb-1.0-0-dev (Package name may vary across distributions) ## Installation 1. Clone the parent Git repository -2. CD to the libx52 folder and run autogen.sh +2. Run autogen.sh 3. Run configure; make and sudo make install. -The test program is not installed, there will be a separate command line utility -in the future that utilizes the library and communicates with the joystick. +The test program is not installed. Use x52cli to communicate with the joystick +and set the LEDs and MFD state. diff --git a/libx52/src/x52_cli.c b/libx52/src/x52_cli.c index f08b8cf..268bef0 100644 --- a/libx52/src/x52_cli.c +++ b/libx52/src/x52_cli.c @@ -297,7 +297,7 @@ static int do_help(const struct command_handler *cmd) { int i; if (cmd) { - fprintf(stderr, "Command usage: %s", cmd->help); + fprintf(stderr, "Command usage: %s\n", cmd->help); } else { printf("\nCommands:\n"); for (i = 0; i < X52_CTL_CMD_MAX; i++) {