cli: support --host alias for --node
authorPavel Šimerda <psimerda@redhat.com>
Sat, 8 Feb 2014 15:51:34 +0000 (16:51 +0100)
committerPavel Šimerda <psimerda@redhat.com>
Sat, 8 Feb 2014 15:51:34 +0000 (16:51 +0100)
lib/cli.c

index 16637c4c26482cb5be0fd2b27939b50dc5767169..af212296f6018f990978b27ee0ecbd9aa0010323 100644 (file)
--- a/lib/cli.c
+++ b/lib/cli.c
@@ -84,6 +84,7 @@ netresolve_query_argv(netresolve_t channel, char **argv)
                { "help", 0, 0, 'h' },
                { "verbose", 0, 0, 'v' },
                { "node", 1, 0, 'n' },
+               { "host", 1, 0, 'n' },
                { "service", 1, 0, 's' },
                { "family", 1, 0, 'f' },
                { "socktype", 1, 0, 't' },
This page took 0.071491 seconds and 5 git commands to generate.