summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Lauria <lauria2@yahoo.com>2011-09-06 13:41:41 -0400
committerAndrew Bartlett <abartlet@samba.org>2011-09-09 15:24:04 +1000
commitf4f77bb95422c8dbc5df9d4156b660eb41034883 (patch)
tree6139ccfb0529e5ee00d4e996510320141507bff1
parentdd3ebbffe85776073d95184348f89d44b6624ae2 (diff)
downloadsamba-f4f77bb95422c8dbc5df9d4156b660eb41034883.tar.gz
samba-f4f77bb95422c8dbc5df9d4156b660eb41034883.tar.bz2
samba-f4f77bb95422c8dbc5df9d4156b660eb41034883.zip
samba-tool: Fixed "testparm" syntax
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xsource4/scripting/python/samba/netcmd/testparm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/testparm.py b/source4/scripting/python/samba/netcmd/testparm.py
index 9b8d207d3a..3e4f5205e7 100755
--- a/source4/scripting/python/samba/netcmd/testparm.py
+++ b/source4/scripting/python/samba/netcmd/testparm.py
@@ -44,7 +44,7 @@ from samba.netcmd import Command, CommandError, Option
class cmd_testparm(Command):
"""Syntax check the configuration file"""
- synopsis = ""
+ synopsis = "%prog testparm [<hostname>] [<hostip>] [options]"
takes_optiongroups = {
"sambaopts" : options.SambaOptions,