File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -143,12 +143,13 @@ def run_demo(home):
143143
144144
145145def usage (msg = '' ):
146+ if msg :
147+ print msg
148+ print """\
149+ Usage: %(script)s [options] [nuke]
146150
147- if msg : print msg
148- print 'Usage: %s [options] [nuke]' % sys .argv [0 ]
149- print """
150- Run a demo server. Config and database files are created
151- in %(datadir)s/ subdirectory of %(script)s dir.
151+ Run a demo server. Config and database files are created in
152+ %(datadir)s subdirectory of %(script)s dir.
152153
153154 'nuke' will re-initialize the demo instance, deleting the old data.
154155
@@ -158,7 +159,7 @@ def usage(msg = ''):
158159 -h -- print this help message
159160 -t template -- specify the tracker template to use
160161 -b backend -- specify the database backend to use
161- """ % dict (script = sys .argv [0 ], datadir = TRACKER_HOME )
162+ """ % dict (script = sys .argv [0 ], datadir = TRACKER_HOME + os . sep )
162163
163164
164165def main ():
You can’t perform that action at this time.
0 commit comments