Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#889 closed defect (fixed)

Usage info in trac-admin is wrong

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

Description (last modified by Christopher Lenz)

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 (0)

Change History (3)

comment:1 by Christopher Lenz, 20 years ago

Description: modified (diff)
Milestone: 0.8
Owner: changed from daniel to Christopher Lenz
Status: newassigned

comment:2 by Christopher Lenz, 20 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

Thanks for the patch. Applied in [1026].

comment:3 by Christopher Lenz, 20 years ago

Severity: normaltrivial

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.