From: Lennart Poettering Date: Wed, 9 May 2007 11:09:02 +0000 (+0000) Subject: Fix bogus --help output for avahi-resolve. Yet another patch that hasn't been send... X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=68cd21b195da18d0616df863400462864723d342;p=catta Fix bogus --help output for avahi-resolve. Yet another patch that hasn't been send upstream from the distributors. http://cvs.fedora.redhat.com/viewcvs/devel/avahi/avahi-0.6.9-bz189427.patch git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1466 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-utils/avahi-resolve.c b/avahi-utils/avahi-resolve.c index 47e7ebf..16bb1b5 100644 --- a/avahi-utils/avahi-resolve.c +++ b/avahi-utils/avahi-resolve.c @@ -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[]) {