samba-tool: Add long_description and epilog to Command class
authorGiampaolo Lauria <lauria2@yahoo.com>
Fri, 29 Jul 2011 21:04:45 +0000 (17:04 -0400)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 Sep 2011 05:24:01 +0000 (15:24 +1000)
commite309c782baa5535a60621492d6ffa77dff37b899
tree277247e45d5337e432f35ac228ce54dd494c2a1b
parentf5e173284a959197ea3ee347fc9625aadb9591dc
samba-tool: Add long_description and epilog to Command class

long_description and epilog should now be defined for each command.
Their string value will be printed whenever the user invokes the
command w/ the -h or --help
long_desciption will be printed after the usage statement.
epilog will be printed after the options are defined

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/netcmd/__init__.py