git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5901bba
)
Allow for -open arg
author
amwaterhouse
<Andrew Waterhouse>
Thu, 21 Apr 2005 17:21:20 +0000
(17:21 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 21 Apr 2005 17:21:20 +0000
(17:21 +0000)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
f7a2dcd
..
6f4a8d5
100755
(executable)
--- a/
src/jalview/bin/Jalview.java
+++ b/
src/jalview/bin/Jalview.java
@@
-99,9
+99,15
@@
public class Jalview extends JApplet
frame.setVisible(true);
\r
\r
\r
frame.setVisible(true);
\r
\r
\r
+
\r
if(args!=null && args.length>0)
\r
{
\r
if(args!=null && args.length>0)
\r
{
\r
- String file = args[0];
\r
+ String file=null;
\r
+ if(args[0].equals("-open"))
\r
+ file = args[1];
\r
+ else
\r
+ file = args[0];
\r
+
\r
String protocol = "File";
\r
if(file.indexOf("http:")>-1)
\r
protocol = "URL";
\r
String protocol = "File";
\r
if(file.indexOf("http:")>-1)
\r
protocol = "URL";
\r