svn commit: samba r3394 - in branches/SAMBA_4_0/source/torture: .

abartlet at samba.org abartlet at samba.org
Sat Oct 30 22:10:14 GMT 2004


Author: abartlet
Date: 2004-10-30 22:10:14 +0000 (Sat, 30 Oct 2004)
New Revision: 3394

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3394

Log:
Give the user a clue why we are blasting them with the usage brick.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/torture.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/torture.c
===================================================================
--- branches/SAMBA_4_0/source/torture/torture.c	2004-10-30 11:53:36 UTC (rev 3393)
+++ branches/SAMBA_4_0/source/torture/torture.c	2004-10-30 22:10:14 UTC (rev 3394)
@@ -2748,6 +2748,7 @@
 		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);
 		}
 



More information about the samba-cvs mailing list