From: Sebastien Estienne Date: Fri, 25 Nov 2005 10:33:51 +0000 (+0000) Subject: * correct the help message of avahi-public X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=0da62a499e177d194cb8622e3cd1dd9d6bc170e8;p=catta * correct the help message of avahi-public git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1036 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-utils/avahi-publish.c b/avahi-utils/avahi-publish.c index e0dea9f..9d3e53c 100644 --- a/avahi-utils/avahi-publish.c +++ b/avahi-utils/avahi-publish.c @@ -220,8 +220,8 @@ static void help(FILE *f, const char *argv0) { " -H --host=DOMAIN Host where service resides\n" " --subtype=SUBTYPE An additional subtype to register this service with\n" " -f --no-fail Don't fail if the daemon is not available\n", - argv0, strstr(argv0, "address") ? "[-a]" : "-a", - argv0, strstr(argv0, "service") ? "[-s]" : "-s"); + argv0, strstr(argv0, "service") ? "[-s]" : "-s", + argv0, strstr(argv0, "address") ? "[-a]" : "-a"); } static int parse_command_line(Config *c, const char *argv0, int argc, char *argv[]) {