restconf dual getopt
This commit is contained in:
parent
f9a97c57ca
commit
e497238b8b
1 changed files with 2 additions and 2 deletions
|
|
@ -545,8 +545,6 @@ main(int argc,
|
|||
usage(h, argv[0]);
|
||||
break;
|
||||
} /* switch getopt */
|
||||
argc -= optind;
|
||||
argv += optind;
|
||||
|
||||
/*
|
||||
* Logs, error and debug to stderr or syslog, set debug level
|
||||
|
|
@ -599,6 +597,8 @@ main(int argc,
|
|||
usage(h, argv[0]);
|
||||
break;
|
||||
}
|
||||
argc -= optind;
|
||||
argv += optind;
|
||||
|
||||
/* Overwrite yang module with -y option */
|
||||
if (yangspec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue