diff options
author | Giampaolo Lauria <lauria2@yahoo.com> | 2011-07-18 18:34:45 -0400 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-07-21 11:44:31 +1000 |
commit | 6e7b8aaf1d7b64df07fe2cbc731addd59be8e2d8 (patch) | |
tree | a2e26db403e414f69ebb3a167190268f9fcf606e /source4 | |
parent | 5f5eb1b00385fe1643dd5496c61954768fee3818 (diff) | |
download | samba-6e7b8aaf1d7b64df07fe2cbc731addd59be8e2d8.tar.gz samba-6e7b8aaf1d7b64df07fe2cbc731addd59be8e2d8.tar.bz2 samba-6e7b8aaf1d7b64df07fe2cbc731addd59be8e2d8.zip |
samba-tool: Fix __doc_ in base classes
Changed prog to samba-tool as prog is only meaningful in Parser
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/python/samba/netcmd/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/netcmd/__init__.py b/source4/scripting/python/samba/netcmd/__init__.py index 2de679d6f7..e5d20ef301 100644 --- a/source4/scripting/python/samba/netcmd/__init__.py +++ b/source4/scripting/python/samba/netcmd/__init__.py @@ -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 |