summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/torture.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index a53ba1ce60..5a5754a21a 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -2103,6 +2103,7 @@ static void usage(void)
printf("Usage: smbtorture //server/share <options> TEST1 TEST2 ...\n");
+ printf("\t-d debuglevel\n");
printf("\t-U user%%pass\n");
printf("\t-N numprocs\n");
printf("\t-n my_netbios_name\n");
@@ -2182,7 +2183,7 @@ static void usage(void)
fstrcpy(workgroup, lp_workgroup());
- while ((opt = getopt(argc, argv, "hW:U:n:N:O:o:m:L")) != EOF) {
+ while ((opt = getopt(argc, argv, "hW:U:n:N:O:o:m:Ld:")) != EOF) {
switch (opt) {
case 'W':
fstrcpy(workgroup,optarg);
@@ -2196,6 +2197,9 @@ static void usage(void)
case 'o':
numops = atoi(optarg);
break;
+ case 'd':
+ DEBUGLEVEL = atoi(optarg);
+ break;
case 'O':
sockops = optarg;
break;