Mercurial > p > roundup > code
comparison roundup/admin.py @ 1570:93e0a565cee5
fix the "set" command usage statement
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 27 Mar 2003 05:23:39 +0000 |
| parents | 053065585406 |
| children | 21312a7564fd |
comparison
equal
deleted
inserted
replaced
| 1569:2bb4fa7050b1 | 1570:93e0a565cee5 |
|---|---|
| 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 18 # | 18 # |
| 19 # $Id: admin.py,v 1.49 2003-03-26 11:02:28 richard Exp $ | 19 # $Id: admin.py,v 1.50 2003-03-27 05:23:39 richard Exp $ |
| 20 | 20 |
| 21 '''Administration commands for maintaining Roundup trackers. | 21 '''Administration commands for maintaining Roundup trackers. |
| 22 ''' | 22 ''' |
| 23 | 23 |
| 24 import sys, os, getpass, getopt, re, UserDict, shlex, shutil | 24 import sys, os, getpass, getopt, re, UserDict, shlex, shutil |
| 480 | 480 |
| 481 return 0 | 481 return 0 |
| 482 | 482 |
| 483 | 483 |
| 484 def do_set(self, args, pwre = re.compile(r'{(\w+)}(.+)')): | 484 def do_set(self, args, pwre = re.compile(r'{(\w+)}(.+)')): |
| 485 '''Usage: set [items] property=value property=value ... | 485 '''Usage: set items property=value property=value ... |
| 486 Set the given properties of one or more items(s). | 486 Set the given properties of one or more items(s). |
| 487 | 487 |
| 488 The items may be specified as a class or as a comma-separated | 488 The items are specified as a class or as a comma-separated |
| 489 list of item designators (ie "designator[,designator,...]"). | 489 list of item designators (ie "designator[,designator,...]"). |
| 490 | 490 |
| 491 This command sets the properties to the values for all designators | 491 This command sets the properties to the values for all designators |
| 492 given. If the value is missing (ie. "property=") then the property is | 492 given. If the value is missing (ie. "property=") then the property is |
| 493 un-set. If the property is a multilink, you specify the linked ids | 493 un-set. If the property is a multilink, you specify the linked ids |
