Edgewall Software

Opened 19 years ago

Last modified 19 years ago

#889 closed defect

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

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

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)

Change History (0)

Note: See TracTickets for help on using tickets.