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

Modified code to handle -k and --kerberos options to:
1. Throw the correct exception
2. On error, display the correct user's specified option
source4/scripting/python/samba/getopt.py