yanglint REFACTOR printing features simplified
diff --git a/tools/lint/main_ni.c b/tools/lint/main_ni.c
index fee2b81..6f04623 100644
--- a/tools/lint/main_ni.c
+++ b/tools/lint/main_ni.c
@@ -751,9 +751,7 @@
                 goto cleanup;
             }
         }
-        if ((ret = cmd_feature_print_fparam(ctx, &yo))) {
-            goto cleanup;
-        }
+        cmd_feature_fin(ctx, &yo);
     } else if (yo.schema_out_format && yo.schema_node_path) {
         if ((ret = cmd_print_exec(&ctx, &yo, NULL))) {
             goto cleanup;