]> git.meshlink.io Git - catta/commitdiff
Fix bogus --help output for avahi-resolve. Yet another patch that hasn't been send...
authorLennart Poettering <lennart@poettering.net>
Wed, 9 May 2007 11:09:02 +0000 (11:09 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 May 2007 11:09:02 +0000 (11:09 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1466 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-utils/avahi-resolve.c

index 47e7ebfdeefd949429f4d08ec244ef8f4c459c52..16bb1b59c2e4b5918da815d2ac4180d693592f7b 100644 (file)
@@ -164,8 +164,8 @@ static void help(FILE *f, const char *argv0) {
             "    -v --verbose         Enable verbose mode\n"
             "    -6                   Lookup IPv6 address\n"
             "    -4                   Lookup IPv4 address\n",
-            argv0, strstr(argv0, "address") ? "[-a]" : "-a",
-            argv0, strstr(argv0, "host-name") ? "[-n]" : "-n");
+            argv0, strstr(argv0, "host-name") ? "[-n]" : "-n",
+            argv0, strstr(argv0, "address") ? "[-a]" : "-a");
 }
 
 static int parse_command_line(Config *c, const char *argv0, int argc, char *argv[]) {