summaryrefslogtreecommitdiffstats
path: root/scilab/modules/shell
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2010-03-16 08:22:32 +0100
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2010-03-16 08:22:32 +0100
commit869dc7ba7d95a7a299ce3b1982ae65c511214296 (patch)
tree5ae8005dca31792b2377ba7ccf2731cd54aa79a7 /scilab/modules/shell
parent4a46e2cc92ececb006c47f36700f3ed56f585cde (diff)
downloadscilab-869dc7ba7d95a7a299ce3b1982ae65c511214296.zip
scilab-869dc7ba7d95a7a299ce3b1982ae65c511214296.tar.gz
Highlight the fact that the option -nwni and -nogui are the same
Diffstat (limited to 'scilab/modules/shell')
-rw-r--r--scilab/modules/shell/src/c/others/mainscic.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/scilab/modules/shell/src/c/others/mainscic.c b/scilab/modules/shell/src/c/others/mainscic.c
index 4dc9279..754d51c 100644
--- a/scilab/modules/shell/src/c/others/mainscic.c
+++ b/scilab/modules/shell/src/c/others/mainscic.c
@@ -85,7 +85,7 @@ fpsetmask(0);
85 { 85 {
86 setScilabMode(SCILAB_NW); 86 setScilabMode(SCILAB_NW);
87 } 87 }
88 else if ( strcmp(argv[i],"-nwni") == 0) 88 else if ( strcmp(argv[i],"-nwni") == 0 || strcmp(argv[i],"-nogui") == 0)
89 { 89 {
90 setScilabMode(SCILAB_NWNI); 90 setScilabMode(SCILAB_NWNI);
91 } 91 }
@@ -125,11 +125,10 @@ fpsetmask(0);
125 setScilabMode(SCILAB_NW); 125 setScilabMode(SCILAB_NW);
126 settexmacs(); 126 settexmacs();
127 } 127 }
128 else if ( strcmp(argv[i],"-nogui") == 0) 128 else if ( strcmp(argv[i],"-version") == 0) {
129 { 129 disp_scilab_version();
130 setScilabMode(SCILAB_NWNI); 130 exit(1);
131 } 131 }
132 else if ( strcmp(argv[i],"-version") == 0) {disp_scilab_version();exit(1);}
133 } 132 }
134 133
135 134