File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/python
2- # $Id: roundup-admin,v 1.8 2001-07-30 02:37:07 richard Exp $
2+ # $Id: roundup-admin,v 1.9 2001-07-30 03:52:55 richard Exp $
33
44import sys
55if int (sys .version [0 ]) < 2 :
@@ -303,6 +303,14 @@ def figureCommands():
303303 d [k [3 :]] = v
304304 return d
305305
306+ def printInitOptions ():
307+ import roundup .templates
308+ templates = roundup .templates .listTemplates ()
309+ print 'Templates:' , ', ' .join (templates )
310+ import roundup .backends
311+ backends = roundup .backends .__all__
312+ print 'Back ends:' , ', ' .join (backends )
313+
306314def main ():
307315 opts , args = getopt .getopt (sys .argv [1 :], 'i:u:hc' )
308316
@@ -343,6 +351,8 @@ def main():
343351 usage ('no such command "%s"' % args [1 ])
344352 return 1
345353 print command .__doc__
354+ if args [1 ] == 'init' :
355+ printInitOptions ()
346356 return 0
347357 usage ()
348358 return 0
@@ -394,6 +404,9 @@ if __name__ == '__main__':
394404
395405#
396406# $Log: not supported by cvs2svn $
407+ # Revision 1.8 2001/07/30 02:37:07 richard
408+ # Freshen is really broken. Commented out.
409+ #
397410# Revision 1.7 2001/07/30 01:28:46 richard
398411# Bugfixes
399412#
You can’t perform that action at this time.
0 commit comments