Mailing List Archive

[The Trac Project] #889: Usage info in trac-admin is wrong
#889: Usage info in trac-admin is wrong
------------------------+---------------------------------------------------
Id: 889 | Status: new
Component: trac-admin | Modified: Fri Nov 5 09:51:52 2004
Severity: normal | Milestone:
Priority: normal | Version: devel
Owner: daniel | Reporter: anonymous
------------------------+---------------------------------------------------
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)
}}}

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/889>
The Trac Project <>
Re: [The Trac Project] #889: Usage info in trac-admin is wrong [ In reply to ]
#889: Usage info in trac-admin is wrong
------------------------+---------------------------------------------------
Id: 889 | Status: assigned
Component: trac-admin | Modified: Sun Nov 7 11:09:42 2004
Severity: normal | Milestone: 0.8
Priority: normal | Version: devel
Owner: cmlenz | Reporter: anonymous
------------------------+---------------------------------------------------
Changes (by cmlenz):

* milestone: => 0.8
* status: new => assigned
* owner: daniel => cmlenz

Old 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)
> }}}

New 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)
}}}

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/889>
The Trac Project <>
Re: [The Trac Project] #889: Usage info in trac-admin is wrong [ In reply to ]
#889: Usage info in trac-admin is wrong
------------------------+---------------------------------------------------
Id: 889 | Status: closed
Component: trac-admin | Modified: Sun Nov 7 11:11:05 2004
Severity: normal | Milestone: 0.8
Priority: normal | Version: devel
Owner: cmlenz | Reporter: anonymous
------------------------+---------------------------------------------------
Changes (by cmlenz):

* resolution: => fixed
* status: assigned => closed

Old 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)
> }}}

New 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)
}}}

Comment:

Thanks for the patch. Applied in [1026].

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/889>
The Trac Project <>
Re: [The Trac Project] #889: Usage info in trac-admin is wrong [ In reply to ]
#889: Usage info in trac-admin is wrong
------------------------+---------------------------------------------------
Id: 889 | Status: closed
Component: trac-admin | Modified: Sun Nov 7 11:11:23 2004
Severity: trivial | Milestone: 0.8
Priority: normal | Version: devel
Owner: cmlenz | Reporter: anonymous
------------------------+---------------------------------------------------
Changes (by cmlenz):

* severity: normal => trivial

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/889>
The Trac Project <>