summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-09-09 13:26:04 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-09-09 15:24:05 +1000
commit4d0ead86e1211ef81fb07621afd6028768e2fb07 (patch)
tree7e9d17d411131345f339fe32acee0b0dfa8e0bc0
parente9f155f52dbde0d715c4cb48093c09ba169262f7 (diff)
downloadsamba-4d0ead86e1211ef81fb07621afd6028768e2fb07.tar.gz
samba-4d0ead86e1211ef81fb07621afd6028768e2fb07.tar.xz
samba-4d0ead86e1211ef81fb07621afd6028768e2fb07.zip
samba-tool: Provide feedback if synopsis is not defined for a command
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/scripting/python/samba/netcmd/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/__init__.py b/source4/scripting/python/samba/netcmd/__init__.py
index 288993f561d..772ced94637 100644
--- a/source4/scripting/python/samba/netcmd/__init__.py
+++ b/source4/scripting/python/samba/netcmd/__init__.py
@@ -39,7 +39,7 @@ class Command(object):
description = property(_get_description)
# synopsis must be defined in all subclasses in order to provide the command usage
- synopsis = ""
+ synopsis = "Please provide synopsis for this command."
# long_description is a string describing the command in details
long_description = ""
takes_args = []