From: richard Date: Thu, 27 Mar 2003 05:23:39 +0000 (+0000) Subject: fix the "set" command usage statement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ea7a0cabdecbfef90e3cc2756309a78575fb889a;p=roundup.git fix the "set" command usage statement git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1642 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/doc/customizing.txt b/doc/customizing.txt index c996fee..236dc19 100644 --- a/doc/customizing.txt +++ b/doc/customizing.txt @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.81 $ +:Version: $Revision: 1.82 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -371,11 +371,11 @@ let's say that there's an issue in roundup, issue 23. There's also a user, richard who happens to be user 2. To assign an issue to him, we could do either of:: - roundup-admin set issue assignedto=2 + roundup-admin set issue23 assignedto=2 or:: - roundup-admin set issue assignedto=richard + roundup-admin set issue23 assignedto=richard Note, the same thing can be done in the web and e-mail interfaces. diff --git a/doc/user_guide.txt b/doc/user_guide.txt index f8395dc..73d647c 100644 --- a/doc/user_guide.txt +++ b/doc/user_guide.txt @@ -2,7 +2,7 @@ User Guide ========== -:Version: $Revision: 1.16 $ +:Version: $Revision: 1.17 $ .. contents:: @@ -440,7 +440,7 @@ The basic usage is:: retire designator[,designator]* rollback security [Role name] - set [items] property=value property=value ... + set items property=value property=value ... specification classname table classname [property[,property]*] Commands may be abbreviated as long as the abbreviation matches only one diff --git a/roundup/admin.py b/roundup/admin.py index ebc22c8..65bfa8c 100644 --- a/roundup/admin.py +++ b/roundup/admin.py @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: admin.py,v 1.49 2003-03-26 11:02:28 richard Exp $ +# $Id: admin.py,v 1.50 2003-03-27 05:23:39 richard Exp $ '''Administration commands for maintaining Roundup trackers. ''' @@ -482,10 +482,10 @@ Command help: def do_set(self, args, pwre = re.compile(r'{(\w+)}(.+)')): - '''Usage: set [items] property=value property=value ... + '''Usage: set items property=value property=value ... Set the given properties of one or more items(s). - The items may be specified as a class or as a comma-separated + The items are specified as a class or as a comma-separated list of item designators (ie "designator[,designator,...]"). This command sets the properties to the values for all designators