Hi all.

I'm currently messing with trac-admin and noticed that the help for "wiki"
suggests that both, export and import, have an optional parameter "file".
Omitting file means that the content of the wiki page in question will be
written to stdout/read from stdin, according to the help.

However, the implementation is different: omitting file will cause the
command to fail. While _do_wiki_export would work as expected when no
filename is passed to it, _do_wiki_import would complain.

This could be fixed either by correcting the help text (which then would
state that "file" is mandatory), or by adjusting the programming logic.
Which of both options should be preferred?

Bye, Mike

--

You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.


Reply via email to