Edgewall Software

Opened 20 years ago

Closed 19 years ago

Last modified 19 years ago

#889 closed defect (fixed)

Usage info in trac-admin is wrong — at Version 2

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)

Change History (2)

comment:1 by Christopher Lenz, 19 years ago

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

comment:2 by Christopher Lenz, 19 years ago

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

Thanks for the patch. Applied in [1026].

Note: See TracTickets for help on using tickets.