[MonoDevelop] Small patch to allow relative paths on
commandline
John Luke
jluke@users.sourceforge.net
Mon, 07 Jun 2004 19:31:25 -0400
On Tue, 2004-06-08 at 01:06 +0200, Michael Levy wrote:
> Yes, this is for commandline parsing. The function I wrote doesn't look for
> ./ so both of your examples work....One thing to keep in mind is that it
> seems, but I may be completely wrong, that MD will only allow you to specify
> a single file on the comand line. I think it's due to some code in
> SplashScreen.cs
>
> Not to nit-pick, but as far as I know, ~/file.cs is an absolute path because
> your shell replaces ~ with $HOME. Anyhow it doesn't matter.
>
> If it doesn't work for you, let me know I'll try to help...
>
hmm, it works ok, must have been to long since I have written any shell-
scripts. In the long-term we need a full commandline parsing, which I
would recommend using Mono.GetOptions for anyone interested. I will
commit this in a moment.