From tashi-commits-return-594-apmail-incubator-tashi-commits-archive=incubator.apache.org@incubator.apache.org Fri Jul 27 04:18:58 2012 Return-Path: X-Original-To: apmail-incubator-tashi-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-tashi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA601D71D for ; Fri, 27 Jul 2012 04:18:58 +0000 (UTC) Received: (qmail 92417 invoked by uid 500); 27 Jul 2012 04:18:58 -0000 Delivered-To: apmail-incubator-tashi-commits-archive@incubator.apache.org Received: (qmail 92393 invoked by uid 500); 27 Jul 2012 04:18:58 -0000 Mailing-List: contact tashi-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tashi-dev@incubator.apache.org Delivered-To: mailing list tashi-commits@incubator.apache.org Received: (qmail 92385 invoked by uid 99); 27 Jul 2012 04:18:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 04:18:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_FRT_STOCK2 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 04:18:56 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 50AFF23889EA; Fri, 27 Jul 2012 04:18:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1366277 - /incubator/tashi/trunk/src/tashi/client/tashi-admin.py Date: Fri, 27 Jul 2012 04:18:12 -0000 To: tashi-commits@incubator.apache.org From: stroucki@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120727041812.50AFF23889EA@eris.apache.org> Author: stroucki Date: Fri Jul 27 04:18:11 2012 New Revision: 1366277 URL: http://svn.apache.org/viewvc?rev=1366277&view=rev Log: tashi-admin: add example text for sethostnotes Modified: incubator/tashi/trunk/src/tashi/client/tashi-admin.py Modified: incubator/tashi/trunk/src/tashi/client/tashi-admin.py URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/client/tashi-admin.py?rev=1366277&r1=1366276&r2=1366277&view=diff ============================================================================== --- incubator/tashi/trunk/src/tashi/client/tashi-admin.py (original) +++ incubator/tashi/trunk/src/tashi/client/tashi-admin.py Fri Jul 27 04:18:11 2012 @@ -100,7 +100,7 @@ def setHostNotes(args): parser = optparse.OptionParser() parser.set_usage("%s setHostNotes [options]" % scriptname) parser.add_option("--host", help="Annotate this host with the note (mandatory)", action="store", type="string", dest="hostname") - parser.add_option("--notes", help="Annotate the host with this note (mandatory)", action="store", type="string", dest="notes") + parser.add_option("--notes", help="Annotate the host with this note, e.g. 'Check fan' (mandatory)", action="store", type="string", dest="notes") (options, arguments) = parser.parse_args(args) if options.hostname is None or options.notes is None: print "A mandatory option is missing\n"