samba-tool: Provide feedback if synopsis is not defined for a command
authorAmitay Isaacs <amitay@gmail.com>
Fri, 9 Sep 2011 03:26:04 +0000 (13:26 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 Sep 2011 05:24:05 +0000 (15:24 +1000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/netcmd/__init__.py

index 288993f561d59f1b3917db4943c3f0381a2395f4..772ced94637a37a49110e93c34cc004e61ce2dc2 100644 (file)
@@ -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 = []