Massive update of argparse system

This is required for furhter maintance of kernel module. Aims to provide
common interface for both
This commit is contained in:
Vadim Vetrov
2024-12-08 16:06:50 +03:00
parent 9b5c8a729d
commit 457a7a7f04
13 changed files with 1582 additions and 852 deletions

View File

@@ -612,7 +612,7 @@ struct instance_config_t instance_config = {
int main(int argc, char *argv[]) {
int ret;
if ((ret = parse_args(argc, argv)) != 0) {
if ((ret = yparse_args(argc, argv)) != 0) {
if (ret < 0) {
lgerror(-errno, "Unable to parse args");
exit(EXIT_FAILURE);