File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1616# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818#
19- # $Id: roundup-admin,v 1.22 2001-10-09 07:25:59 richard Exp $
19+ # $Id: roundup-admin,v 1.23 2001-10-09 23:36:25 richard Exp $
2020
2121import sys
2222if int (sys .version [0 ]) < 2 :
@@ -426,6 +426,10 @@ def main():
426426 instance = roundup .instance .open (instance_home )
427427 db = instance .open ('admin' )
428428
429+ if len (args ) < 2 :
430+ print function .__doc__
431+ return 1
432+
429433 # do the command
430434 try :
431435 return function (db , args [1 :])
@@ -440,6 +444,10 @@ if __name__ == '__main__':
440444
441445#
442446# $Log: not supported by cvs2svn $
447+ # Revision 1.22 2001/10/09 07:25:59 richard
448+ # Added the Password property type. See "pydoc roundup.password" for
449+ # implementation details. Have updated some of the documentation too.
450+ #
443451# Revision 1.21 2001/10/05 02:23:24 richard
444452# . roundup-admin create now prompts for property info if none is supplied
445453# on the command-line.
You can’t perform that action at this time.
0 commit comments