diff options
Diffstat (limited to 'examples/nft-set-elem-get.c')
-rw-r--r-- | examples/nft-set-elem-get.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/nft-set-elem-get.c b/examples/nft-set-elem-get.c index 9c637ee..9a3ccd7 100644 --- a/examples/nft-set-elem-get.c +++ b/examples/nft-set-elem-get.c @@ -57,7 +57,7 @@ int main(int argc, char *argv[]) int ret; if (argc < 4 || argc > 5) { - fprintf(stderr, "%s <family> <table> <set> [<json|xml>]\n", + fprintf(stderr, "%s <family> <table> <set> [<json>]\n", argv[0]); return EXIT_FAILURE; } @@ -82,8 +82,6 @@ int main(int argc, char *argv[]) if (argc == 5 && strcmp(argv[4], "json") == 0 ) type = NFTNL_OUTPUT_JSON; - else if (argc == 5 && strcmp(argv[4], "xml") == 0) - type = NFTNL_OUTPUT_XML; nlh = nftnl_set_nlmsg_build_hdr(buf, NFT_MSG_GETSETELEM, family, NLM_F_DUMP|NLM_F_ACK, seq); |