diff options
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 112c297..21e69f4 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -3,16 +3,18 @@ | |||
3 | * Copyright 2020 David Seikel <sledjchisl@sledjhamr.org> | 3 | * Copyright 2020 David Seikel <sledjchisl@sledjhamr.org> |
4 | * Not in SUSv4. An entirely new invention, thus no web site either. | 4 | * Not in SUSv4. An entirely new invention, thus no web site either. |
5 | 5 | ||
6 | USE_SLEDJCHISL(NEWTOY(sledjchisl, "?qma", TOYFLAG_USR|TOYFLAG_BIN)) | 6 | USE_SLEDJCHISL(NEWTOY(sledjchisl, "?vqma", TOYFLAG_USR|TOYFLAG_BIN)) |
7 | 7 | ||
8 | config SLEDJCHISL | 8 | config SLEDJCHISL |
9 | bool "sledjchisl" | 9 | bool "sledjchisl" |
10 | default y | 10 | default y |
11 | help | 11 | help |
12 | usage: sledjchisl [-qma] [mode [name]] | 12 | usage: sledjchisl [-vqma] [mode [name]] |
13 | 13 | ||
14 | opensim-SC management system. | 14 | opensim-SC management system. |
15 | 15 | ||
16 | -v verbose mode. | ||
17 | |||
16 | Mode selects what sledjchisl will do - | 18 | Mode selects what sledjchisl will do - |
17 | create "Sim Name" x,y size | 19 | create "Sim Name" x,y size |
18 | will create a sim. | 20 | will create a sim. |
@@ -533,7 +535,7 @@ float loadAverageInc = 0.7; | |||
533 | int simTimeOut = 45; | 535 | int simTimeOut = 45; |
534 | int bulkSims = 0; | 536 | int bulkSims = 0; |
535 | boolean DEBUG = FALSE; | 537 | boolean DEBUG = FALSE; |
536 | boolean VERBOSE = TRUE; | 538 | boolean VERBOSE = FALSE; |
537 | qhashtbl_t *mimeTypes; | 539 | qhashtbl_t *mimeTypes; |
538 | qlist_t *dbRequests; | 540 | qlist_t *dbRequests; |
539 | 541 | ||
@@ -7501,6 +7503,9 @@ void sledjchisl_main(void) | |||
7501 | int status, result, i; | 7503 | int status, result, i; |
7502 | void *vd; | 7504 | void *vd; |
7503 | 7505 | ||
7506 | if(FLAG(v)) | ||
7507 | VERBOSE = TRUE; | ||
7508 | |||
7504 | V("SledjChisl arguments - %d %d", toys.optc, toys.optflags); | 7509 | V("SledjChisl arguments - %d %d", toys.optc, toys.optflags); |
7505 | for (i = 0; i < toys.optc; i++) | 7510 | for (i = 0; i < toys.optc; i++) |
7506 | V(" argument %d %s", i, toys.optargs[i] ); | 7511 | V(" argument %d %s", i, toys.optargs[i] ); |