diff options
author | onefang | 2021-09-02 12:26:17 +1000 |
---|---|---|
committer | onefang | 2021-09-02 12:26:17 +1000 |
commit | 7f9d3260c86441da2ab004323958430fb55fd411 (patch) | |
tree | 073489f1a2075b47c0c230df53b9af10bb574cdb | |
parent | Move initial option parsing to begining. (diff) | |
download | opensim-SC-7f9d3260c86441da2ab004323958430fb55fd411.zip opensim-SC-7f9d3260c86441da2ab004323958430fb55fd411.tar.gz opensim-SC-7f9d3260c86441da2ab004323958430fb55fd411.tar.bz2 opensim-SC-7f9d3260c86441da2ab004323958430fb55fd411.tar.xz |
Should have been part of last commit. lol
Diffstat (limited to '')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 334f6b9..1709357 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -8676,26 +8676,6 @@ Build the OpenSim. | |||
8676 | ourSims->la = info.loads[0]/65536.0; | 8676 | ourSims->la = info.loads[0]/65536.0; |
8677 | I("There are %i CPUs, %i of them are online. Doing %i sims at once. LoadAverage = %f", cpus, cpusOnline, bulkSims, ourSims->la); | 8677 | I("There are %i CPUs, %i of them are online. Doing %i sims at once. LoadAverage = %f", cpus, cpusOnline, bulkSims, ourSims->la); |
8678 | 8678 | ||
8679 | if (0 == toys.optc) | ||
8680 | ; | ||
8681 | else if (strcmp(toys.optargs[0], "backup") == 0) | ||
8682 | currentMode = BACKUP; | ||
8683 | else if (strcmp(toys.optargs[0], "gitar") == 0) | ||
8684 | currentMode = GITAR; | ||
8685 | else if (strcmp(toys.optargs[0], "restart") == 0) | ||
8686 | currentMode = RESTART; | ||
8687 | else if (strcmp(toys.optargs[0], "start") == 0) | ||
8688 | currentMode = START; | ||
8689 | else if (strcmp(toys.optargs[0], "status") == 0) | ||
8690 | currentMode = STATUS; | ||
8691 | else if (strcmp(toys.optargs[0], "build") == 0) | ||
8692 | currentMode = BUILD; | ||
8693 | else if (strcmp(toys.optargs[0], "test") == 0) | ||
8694 | currentMode = TEST; | ||
8695 | else if (strcmp(toys.optargs[0], "update") == 0) | ||
8696 | currentMode = UPDATE; | ||
8697 | else if (strcmp(toys.optargs[0], "stop") == 0) | ||
8698 | currentMode = STOP; | ||
8699 | if (2 == toys.optc) | 8679 | if (2 == toys.optc) |
8700 | ourSims->target = xstrdup(toys.optargs[1]); | 8680 | ourSims->target = xstrdup(toys.optargs[1]); |
8701 | else if (3 == toys.optc) | 8681 | else if (3 == toys.optc) |