commit | 8ec2e837f66b2a3f01f04e7628d3d71ae669c221 | [log] [tgz] |
---|---|---|
author | aPiecek <piecek@cesnet.cz> | Mon Jun 12 15:35:34 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Jun 20 11:30:00 2023 +0200 |
tree | 5c218300b3f507aae3fc6db72f5c0aedfc9aeb93 | |
parent | 4ceaf1884ac43550db9a629afd3392f594e47d49 [diff] [blame] |
yanglint REFACTOR printing list in cmd_list
diff --git a/tools/lint/main_ni.c b/tools/lint/main_ni.c index 41f595d..d89990c 100644 --- a/tools/lint/main_ni.c +++ b/tools/lint/main_ni.c
@@ -775,7 +775,7 @@ if (yo.list) { /* print the list of schemas */ - ret = print_list(yo.out, ctx, yo.data_out_format); + ret = cmd_list_exec(&ctx, &yo, NULL); goto cleanup; } else { if (yo.feature_param_format) {