diff options
author | James Peach <jpeach@samba.org> | 2010-03-18 21:59:35 -0700 |
---|---|---|
committer | James Peach <jpeach@apple.com> | 2010-06-21 08:58:10 -0700 |
commit | a5e14bded48ac53e21307eda1c9767be64b39a17 (patch) | |
tree | f12cdc1fd1bcc2fb6095bc4f4f637d45d6a3cdc8 /source4/torture | |
parent | 12e15b0ac800a84d553ff82c4c61ccc8da9fd5fd (diff) | |
download | samba-a5e14bded48ac53e21307eda1c9767be64b39a17.tar.gz samba-a5e14bded48ac53e21307eda1c9767be64b39a17.tar.bz2 samba-a5e14bded48ac53e21307eda1c9767be64b39a17.zip |
smbtorture: Print global options for interactive "list" command.
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/smbtorture.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index c1d32a769d..96014a2206 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -406,7 +406,9 @@ static void run_shell(struct torture_context *tctx) print_structured_test_list(); } else if (!strcmp(argv[0], "set")) { if (argc < 3) { - fprintf(stderr, "Usage: set <variable> <value>\n"); + lp_dump(tctx->lp_ctx, stdout, + false /* show_defaults */, + 0 /* skip services */); } else { char *name = talloc_asprintf(NULL, "torture:%s", argv[1]); lp_set_cmdline(tctx->lp_ctx, name, argv[2]); |