samba-tool: Improve getopt.py error handling
authorGiampaolo Lauria <lauria2@yahoo.com>
Mon, 17 Oct 2011 19:31:30 +0000 (15:31 -0400)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 19 Oct 2011 01:34:07 +0000 (03:34 +0200)
commit20f2034f380cf13b41ad5054a50edef72e18a6c2
tree4305a6e534e9bae3f3e4ed7989c98b5193c6a0c4
parent8dbf79941f029e7ddcb347c7436038c47eb8115e
samba-tool: Improve getopt.py error handling

Throw an exception when the --option value is invalid
source4/scripting/python/samba/getopt.py