[Mono-devel-list] Re: [PATCH] Monodoc frontend love

Phil Crosby reformist at philisoft.com
Fri Jul 16 03:58:40 EDT 2004


Attached.

On Fri, 2004-07-16 at 03:55, Phil Crosby wrote:
> Small patch includes fixes for the following issues with monodoc's bash
> script:
> 
> when trying to get monodoc command line help, the user might enter -? or
> -h or --? or --h; the only option that will give them a usage message
> right now is "--help". If the user enters any of the other switches,
> monodoc will try and load the switch as a topic. Instead, the user
> should get a usage message if they input any unrecognized command
> following any number of dashes.
> 
> Also, if the user _really_ wants to open a topic starting with "-" from
> the command line, they can use the standard "--" switch which means "all
> strings after -- are arguments" to open that topic, supported by this
> patch.
> 
> Lastly, if you run --make-index as a user and don't have permission to
> /usr/lib/monodoc/monodoc.index (a common enough occurrence) you get the
> entire UnauthorizedAccessException callstack dumped to ouptput. This
> patch dumps just the message, "Access to the path
> "/usr/lib/monodoc/monodoc.index" is denied."
> 
> -Phil Crosby
-------------- next part --------------
A non-text attachment was scrubbed...
Name: frontendlove.diff
Type: text/x-patch
Size: 1662 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040716/f9a15387/attachment.bin 


More information about the Mono-devel-list mailing list