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

The Trac Project noreply at edgewall.com
Sun Nov 7 11:09:42 EST 2004


#889: Usage info in trac-admin is wrong
------------------------+---------------------------------------------------
       Id:  889         |      Status:  assigned                
Component:  trac-admin  |    Modified:  Sun Nov  7 11:09:42 2004
 Severity:  normal      |   Milestone:  0.8                     
 Priority:  normal      |     Version:  devel                   
    Owner:  cmlenz      |    Reporter:  anonymous               
------------------------+---------------------------------------------------
Changes (by cmlenz):

  * milestone:  => 0.8
  * status:  new => assigned
  * owner:  daniel => cmlenz

Old description:

> 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)
> }}}

New description:

 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