fixed compiler warnings
This commit is contained in:
@@ -56,17 +56,17 @@ static struct options opt = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** the version string of the program. */
|
/** the version string of the program. */
|
||||||
const char *argp_program_version = "ebusctl of """PACKAGE_STRING"";
|
const char *argp_program_version = "ebusctl of """ PACKAGE_STRING "";
|
||||||
|
|
||||||
/** the report bugs to address of the program. */
|
/** the report bugs to address of the program. */
|
||||||
const char *argp_program_bug_address = ""PACKAGE_BUGREPORT"";
|
const char *argp_program_bug_address = "" PACKAGE_BUGREPORT "";
|
||||||
|
|
||||||
/** the documentation of the program. */
|
/** the documentation of the program. */
|
||||||
static const char argpdoc[] =
|
static const char argpdoc[] =
|
||||||
"Client for acessing "PACKAGE" via TCP.\n"
|
"Client for acessing " PACKAGE " via TCP.\n"
|
||||||
"\v"
|
"\v"
|
||||||
"If given, send COMMAND together with CMDOPT options to "PACKAGE".\n"
|
"If given, send COMMAND together with CMDOPT options to " PACKAGE ".\n"
|
||||||
"Use 'help' as COMMAND for help on available "PACKAGE" commands.";
|
"Use 'help' as COMMAND for help on available " PACKAGE " commands.";
|
||||||
|
|
||||||
/** the description of the accepted arguments. */
|
/** the description of the accepted arguments. */
|
||||||
static char argpargsdoc[] = "\nCOMMAND [CMDOPT...]";
|
static char argpargsdoc[] = "\nCOMMAND [CMDOPT...]";
|
||||||
@@ -74,7 +74,7 @@ static char argpargsdoc[] = "\nCOMMAND [CMDOPT...]";
|
|||||||
/** the definition of the known program arguments. */
|
/** the definition of the known program arguments. */
|
||||||
static const struct argp_option argpoptions[] = {
|
static const struct argp_option argpoptions[] = {
|
||||||
{NULL, 0, NULL, 0, "Options:", 1 },
|
{NULL, 0, NULL, 0, "Options:", 1 },
|
||||||
{"server", 's', "HOST", 0, "Connect to HOST running "PACKAGE" (name or IP) [localhost]", 0 },
|
{"server", 's', "HOST", 0, "Connect to HOST running " PACKAGE " (name or IP) [localhost]", 0 },
|
||||||
{"port", 'p', "PORT", 0, "Connect to PORT on HOST [8888]", 0 },
|
{"port", 'p', "PORT", 0, "Connect to PORT on HOST [8888]", 0 },
|
||||||
|
|
||||||
{NULL, 0, NULL, 0, NULL, 0 },
|
{NULL, 0, NULL, 0, NULL, 0 },
|
||||||
|
|||||||
@@ -57,14 +57,14 @@ static struct options opt = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** the version string of the program. */
|
/** the version string of the program. */
|
||||||
const char *argp_program_version = "ebusfeed of """PACKAGE_STRING"";
|
const char *argp_program_version = "ebusfeed of """ PACKAGE_STRING "";
|
||||||
|
|
||||||
/** the report bugs to address of the program. */
|
/** the report bugs to address of the program. */
|
||||||
const char *argp_program_bug_address = ""PACKAGE_BUGREPORT"";
|
const char *argp_program_bug_address = "" PACKAGE_BUGREPORT "";
|
||||||
|
|
||||||
/** the documentation of the program. */
|
/** the documentation of the program. */
|
||||||
static const char argpdoc[] =
|
static const char argpdoc[] =
|
||||||
"Feed data from an "PACKAGE" DUMPFILE to a serial device.\n"
|
"Feed data from an " PACKAGE " DUMPFILE to a serial device.\n"
|
||||||
"\v"
|
"\v"
|
||||||
"With no DUMPFILE, /tmp/ebus_dump.bin is used.\n"
|
"With no DUMPFILE, /tmp/ebus_dump.bin is used.\n"
|
||||||
"\n"
|
"\n"
|
||||||
@@ -73,7 +73,7 @@ static const char argpdoc[] =
|
|||||||
" 2. create symbol links to appropriate devices, e.g.\n"
|
" 2. create symbol links to appropriate devices, e.g.\n"
|
||||||
" 'ln -s /dev/pts/2 /dev/ttyUSB60'\n"
|
" 'ln -s /dev/pts/2 /dev/ttyUSB60'\n"
|
||||||
" 'ln -s /dev/pts/3 /dev/ttyUSB20'\n"
|
" 'ln -s /dev/pts/3 /dev/ttyUSB20'\n"
|
||||||
" 3. start "PACKAGE": '"PACKAGE" -f -d /dev/ttyUSB20 --nodevicecheck'\n"
|
" 3. start " PACKAGE ": '" PACKAGE " -f -d /dev/ttyUSB20 --nodevicecheck'\n"
|
||||||
" 4. start ebusfeed: 'ebusfeed /path/to/ebus_dump.bin'\n";
|
" 4. start ebusfeed: 'ebusfeed /path/to/ebus_dump.bin'\n";
|
||||||
|
|
||||||
/** the description of the accepted arguments. */
|
/** the description of the accepted arguments. */
|
||||||
|
|||||||
Reference in New Issue
Block a user