From 68cd21b195da18d0616df863400462864723d342 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 9 May 2007 11:09:02 +0000 Subject: [PATCH] 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 --- avahi-utils/avahi-resolve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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[]) { -- 2.39.5