summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-10-30 22:10:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:05 -0500
commitcf97155ab40ce39e913056f4ff1d74c65831d7d2 (patch)
tree3f16028526abe63f36414bff28b7deb8de0afe76 /source4/torture
parent9b24cd21e2eec39ed4acfd03138f476178156372 (diff)
downloadsamba-cf97155ab40ce39e913056f4ff1d74c65831d7d2.tar.gz
samba-cf97155ab40ce39e913056f4ff1d74c65831d7d2.tar.bz2
samba-cf97155ab40ce39e913056f4ff1d74c65831d7d2.zip
r3394: Give the user a clue why we are blasting them with the usage brick.
Andrew Bartlett (This used to be commit d967569c569a1f8f41efface7c62d233401451f3)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/torture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 08670a0724..3aa74ac59b 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -2748,6 +2748,7 @@ static BOOL is_binding_string(const char *binding_string)
char *host = NULL, *share = NULL;
if (!parse_unc(argv_new[1], &host, &share)) {
+ d_printf("Invalid option: %s is not a valid torture target (share or binding string)\n\n", argv_new[1]);
usage(pc);
}