samba-tool: Fix __doc_ in base classes
authorGiampaolo Lauria <lauria2@yahoo.com>
Mon, 18 Jul 2011 22:34:45 +0000 (18:34 -0400)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Jul 2011 01:44:31 +0000 (11:44 +1000)
Changed prog to samba-tool as prog is only meaningful in Parser

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/scripting/python/samba/netcmd/__init__.py

index 2de679d6f7249a3a4a5df409c88214eef471cb83..e5d20ef3015cad90f5221aea1e740c485cb768f4 100644 (file)
@@ -31,7 +31,7 @@ class Option(optparse.Option):
 
 
 class Command(object):
-    """A %prog command."""
+    """A samba-tool command."""
 
     def _get_description(self):
         return self.__doc__.splitlines()[0].rstrip("\n")
@@ -149,7 +149,7 @@ class Command(object):
 
 
 class SuperCommand(Command):
-    """A %prog command with subcommands."""
+    """A samba-tool command with subcommands."""
 
     subcommands = {}
 
@@ -183,7 +183,7 @@ class SuperCommand(Command):
 
 
 class CommandError(Exception):
-    '''an exception class for %prog cmd errors'''
+    '''an exception class for samba-tool cmd errors'''
     def __init__(self, message, inner_exception=None):
         self.message = message
         self.inner_exception = inner_exception