aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl/sledjchisl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r--src/sledjchisl/sledjchisl.c22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index b7ea5ea..15184d8 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -16,8 +16,6 @@ config SLEDJCHISL
16 -v verbose mode. 16 -v verbose mode.
17 17
18 Mode selects what sledjchisl will do - 18 Mode selects what sledjchisl will do -
19 create "Sim Name" x,y size
20 will create a sim.
21 start 19 start
22 start -q 20 start -q
23 start Welcome 21 start Welcome
@@ -149,12 +147,11 @@ extern char **environ;
149 147
150typedef enum 148typedef enum
151{ 149{
152 CREATE = 0, 150 START = 0,
153 START = 1, 151 BACKUP = 1,
154 BACKUP = 2, 152 GITAR = 2,
155 GITAR = 3, 153 RESTART = 3,
156 RESTART = 4, 154 STATUS = 4,
157 STATUS = 5,
158 STOP = 9 155 STOP = 9
159} modes; 156} modes;
160 157
@@ -162,7 +159,6 @@ modes currentMode = START;
162 159
163char *modeStrings[] = 160char *modeStrings[] =
164{ 161{
165 "create",
166 "start", 162 "start",
167 "backup", 163 "backup",
168 "gitAR", 164 "gitAR",
@@ -171,6 +167,7 @@ char *modeStrings[] =
171 "Huh?", 167 "Huh?",
172 "WTF?", 168 "WTF?",
173 "mumblefuck", 169 "mumblefuck",
170 "dontDoThis"
174 "stop" 171 "stop"
175}; 172};
176 173
@@ -2017,11 +2014,6 @@ byTab has the short name as the key, simData as the value.
2017 break; 2014 break;
2018 } 2015 }
2019 2016
2020 case CREATE : // "create name x,y size"
2021 {
2022 break;
2023 }
2024
2025 case GITAR : // "gitAR -m avatar name" "gitAR sim name" 2017 case GITAR : // "gitAR -m avatar name" "gitAR sim name"
2026 { 2018 {
2027 break; 2019 break;
@@ -8255,8 +8247,6 @@ Build the OpenSim.
8255 ; 8247 ;
8256 else if (strcmp(toys.optargs[0], "backup") == 0) 8248 else if (strcmp(toys.optargs[0], "backup") == 0)
8257 currentMode = BACKUP; 8249 currentMode = BACKUP;
8258 else if (strcmp(toys.optargs[0], "create") == 0)
8259 currentMode = CREATE;
8260 else if (strcmp(toys.optargs[0], "gitar") == 0) 8250 else if (strcmp(toys.optargs[0], "gitar") == 0)
8261 currentMode = GITAR; 8251 currentMode = GITAR;
8262 else if (strcmp(toys.optargs[0], "restart") == 0) 8252 else if (strcmp(toys.optargs[0], "restart") == 0)