Edgewall Software

Opened 19 years ago

Last modified 19 years ago

#889 closed defect

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

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

comment:1 by Christopher Lenz, 19 years ago

Description: modified (diff)
Milestone: 0.8
Owner: changed from daniel to Christopher Lenz
Status: newassigned
Note: See TracTickets for help on using tickets.