case OPT_DEFINE:
if (nft_ctx_add_var(nft, optarg)) {
fprintf(stderr,
- "Failed to define variable '%s'\n",
+ "Error: Failed to define variable '%s'\n",
optarg);
goto out_fail;
}
}
if (i == array_size(debug_param)) {
- fprintf(stderr, "invalid debug parameter `%s'\n",
+ fprintf(stderr, "Error: invalid debug parameter `%s'\n",
optarg);
goto out_fail;
}
#ifdef HAVE_LIBJANSSON
output_flags |= NFT_CTX_OUTPUT_JSON;
#else
- fprintf(stderr, "JSON support not compiled-in\n");
+ fprintf(stderr, "Error: JSON support not compiled-in\n");
goto out_fail;
#endif
break;