[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-648-g04131b2
Volker Lendecke
vl at samba.org
Fri Dec 14 10:18:00 GMT 2007
The branch, v3-2-test has been updated
via 04131b26de08b3cea948ef89921c56561d69dd1d (commit)
from 075d315e0f72d506b70040da10940e4af131b4e2 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 04131b26de08b3cea948ef89921c56561d69dd1d
Author: Karolin Seeger <ks at sernet.de>
Date: Fri Dec 14 10:52:31 2007 +0100
Make smbclient to display error message and usage in the case of invalid options.
-----------------------------------------------------------------------
Summary of changes:
source/client/client.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/client/client.c b/source/client/client.c
index d59af9e..e1d67d7 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -4654,6 +4654,11 @@ static int do_message_op(void)
case 'g':
grepable=true;
break;
+ default:
+ d_fprintf(stderr, "\nInvalid option %s: %s\n\n",
+ poptBadOption(pc, 0), poptStrerror(opt));
+ poptPrintUsage(pc, stderr, 0);
+ exit(1);
}
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list