[fix bug]
This commit is contained in:
parent
8f886b890a
commit
32c81edca4
|
@ -250,7 +250,7 @@ typedef struct DemoArguments {
|
||||||
static struct argp argp = {options, parse_opt, 0, 0};
|
static struct argp argp = {options, parse_opt, 0, 0};
|
||||||
|
|
||||||
void parse_args(int argc, char *argv[], SDemoArguments *arguments) {
|
void parse_args(int argc, char *argv[], SDemoArguments *arguments) {
|
||||||
argp_parse(&argp, argc, argv, 0, 0, &arguments);
|
argp_parse(&argp, argc, argv, 0, 0, arguments);
|
||||||
if (arguments->abort) {
|
if (arguments->abort) {
|
||||||
#ifndef _ALPINE
|
#ifndef _ALPINE
|
||||||
error(10, 0, "ABORTED");
|
error(10, 0, "ABORTED");
|
||||||
|
|
Loading…
Reference in New Issue