[Trac-tickets] [The Trac Project] #889: Usage info in trac-admin is wrong

The Trac Project noreply at edgewall.com
Fri Nov 5 09:51:52 EST 2004


#889: Usage info in trac-admin is wrong
------------------------+---------------------------------------------------
       Id:  889         |      Status:  new                     
Component:  trac-admin  |    Modified:  Fri Nov  5 09:51:52 2004
 Severity:  normal      |   Milestone:                          
 Priority:  normal      |     Version:  devel                   
    Owner:  daniel      |    Reporter:  anonymous               
------------------------+---------------------------------------------------
 trac-admin help states the first parameter has to be the DB file, whereas
 it has to be the path to the trac project environment

 Patch (used name from the man page):

 {{{
 @@ -260,7 +260,7 @@
              print 'trac-admin - The Trac Administration Console %s' %
 trac.__version__
              if not self.interactive:
                  print
 -                print "Usage: trac-admin <dbfile> [command [subcommand]
 [option ...]]\n"
 +                print "Usage: trac-admin </path/to/projenv> [command
 [subcommand] [option ...]]\n"
                  print "Invoking trac-admin without command starts "\
                         "interactive mode."
              self.print_doc (docs)
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/889>
The Trac Project <>


More information about the Trac-Tickets mailing list