* Use new cligen cvv options.

* NOTE cannot use old CLIgen API
This commit is contained in:
Olof hagsand 2021-10-31 15:46:41 +01:00
parent a52b92bd43
commit 46647089ad
4 changed files with 34 additions and 19 deletions

View file

@ -620,7 +620,7 @@ main(int argc,
Should be 0 but default is 1 since all legacy apps use 1
Test legacy before shifting default to 0
*/
cv_exclude_keys(clicon_cli_varonly(h));
cligen_exclude_keys_set(cli_cligen(h), clicon_cli_varonly(h));
/* Initialize plugin module by creating a handle holding plugin and callback lists */
if (clixon_plugin_module_init(h) < 0)