src/lib/options.c 1.25
1.25 2009/02/12 01:13:52 galt
fixing options to ignore equals in ftp and https (and not just http)
Index: src/lib/options.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/options.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -b -B -U 4 -r1.24 -r1.25
--- src/lib/options.c 12 Dec 2005 04:03:40 -0000 1.24
+++ src/lib/options.c 12 Feb 2009 01:13:52 -0000 1.25
@@ -137,9 +137,11 @@
return FALSE;
/* It's nice to be able to use url's in the command line, but they
* may have = in them... */
-if (startsWith("http://", arg))
+if (startsWith("http://", arg)
+ || startsWith("https://", arg)
+ || startsWith("ftp://", arg))
return FALSE;
name = arg;
if (name[0] == '-')