From 62502dcc9233707a27c44d3ab090df5fec96d799 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 19 Aug 2021 21:20:55 +1000 Subject: No more create function for sledjchisl. No one used it anyway. --- src/sledjchisl/sledjchisl.c | 22 ++++++---------------- 1 file 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 -v verbose mode. Mode selects what sledjchisl will do - - create "Sim Name" x,y size - will create a sim. start start -q start Welcome @@ -149,12 +147,11 @@ extern char **environ; typedef enum { - CREATE = 0, - START = 1, - BACKUP = 2, - GITAR = 3, - RESTART = 4, - STATUS = 5, + START = 0, + BACKUP = 1, + GITAR = 2, + RESTART = 3, + STATUS = 4, STOP = 9 } modes; @@ -162,7 +159,6 @@ modes currentMode = START; char *modeStrings[] = { - "create", "start", "backup", "gitAR", @@ -171,6 +167,7 @@ char *modeStrings[] = "Huh?", "WTF?", "mumblefuck", + "dontDoThis" "stop" }; @@ -2017,11 +2014,6 @@ byTab has the short name as the key, simData as the value. break; } - case CREATE : // "create name x,y size" - { - break; - } - case GITAR : // "gitAR -m avatar name" "gitAR sim name" { break; @@ -8255,8 +8247,6 @@ Build the OpenSim. ; else if (strcmp(toys.optargs[0], "backup") == 0) currentMode = BACKUP; - else if (strcmp(toys.optargs[0], "create") == 0) - currentMode = CREATE; else if (strcmp(toys.optargs[0], "gitar") == 0) currentMode = GITAR; else if (strcmp(toys.optargs[0], "restart") == 0) -- cgit v1.1