From: Lennart Poettering Date: Sat, 6 Aug 2005 00:25:27 +0000 (+0000) Subject: * revert half of a fix Sebastien did some time ago X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=280e0fa69dc03706a24bf7128422443cb37d08ab;p=catta * revert half of a fix Sebastien did some time ago git-svn-id: file:///home/lennart/svn/public/avahi/trunk@242 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-utils/avahi-publish-service.in b/avahi-utils/avahi-publish-service.in index 89c1566..3000ea9 100755 --- a/avahi-utils/avahi-publish-service.in +++ b/avahi-utils/avahi-publish-service.in @@ -42,7 +42,7 @@ def usage(retval = 0): try: opts, args = getopt.getopt(sys.argv[1:], "d:H:", ["help", "domain=", "host="]) except getopt.GetoptError: - pass + usage(2) domain = "" host = ""