Edgewall Software

Ticket #889 (closed defect: fixed)

Opened 4 years ago

Last modified 4 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:

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

Changed 4 years ago by cmlenz

  • owner changed from daniel to cmlenz
  • status changed from new to assigned
  • description modified (diff)
  • milestone set to 0.8

Changed 4 years ago by cmlenz

  • status changed from assigned to closed
  • resolution set to fixed
  • description modified (diff)

Thanks for the patch. Applied in [1026].

Changed 4 years ago by cmlenz

  • severity changed from normal to trivial

Add/Change #889 (Usage info in trac-admin is wrong)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cmlenz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.