Edgewall Software
Modify

Ticket #889 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Usage info in trac-admin is wrong

Reported by: anonymous Owned by: cmlenz
Priority: normal Milestone: 0.8
Component: admin/console Version: devel
Severity: trivial Keywords:
Cc:
Release Notes:
API Changes:

Description (last modified by cmlenz) (diff)

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)

Attachments

Change History

comment:1 Changed 8 years ago by cmlenz

  • Description modified (diff)
  • Milestone set to 0.8
  • Owner changed from daniel to cmlenz
  • Status changed from new to assigned

comment:2 Changed 8 years ago by cmlenz

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from assigned to closed

Thanks for the patch. Applied in [1026].

comment:3 Changed 8 years ago by cmlenz

  • Severity changed from normal to trivial
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.