diff options
| author | Giampaolo Lauria <lauria2@yahoo.com> | 2011-07-25 11:56:10 -0400 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 2011-07-28 15:20:51 +1000 |
| commit | 41f073eb601f83e89bd1d2eba7905fede869a5ae (patch) | |
| tree | 703446cd60c8aacb61db5f723765e87dfe90c70d /source4/scripting/python/samba/netcmd/dbcheck.py | |
| parent | 2e082853fbbec127b99e97ea785b564f6aa774d7 (diff) | |
| download | samba-41f073eb601f83e89bd1d2eba7905fede869a5ae.tar.gz samba-41f073eb601f83e89bd1d2eba7905fede869a5ae.tar.bz2 samba-41f073eb601f83e89bd1d2eba7905fede869a5ae.zip | |
samba-tool: add -H or --URL where necessary
To improve consistency, I've made sure all the commands take either a -H
or --URL when specifying a URL
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/scripting/python/samba/netcmd/dbcheck.py')
| -rw-r--r-- | source4/scripting/python/samba/netcmd/dbcheck.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/dbcheck.py b/source4/scripting/python/samba/netcmd/dbcheck.py index 299879b2c64..3f379c0cd4d 100644 --- a/source4/scripting/python/samba/netcmd/dbcheck.py +++ b/source4/scripting/python/samba/netcmd/dbcheck.py @@ -52,7 +52,8 @@ class cmd_dbcheck(Command): help="don't print details of checking"), Option("--attrs", dest="attrs", default=None, help="list of attributes to check (space separated)"), Option("--reindex", dest="reindex", default=False, action="store_true", help="force database re-index"), - Option("-H", help="LDB URL for database or target server (defaults to local SAM database)", type=str), + Option("-H", "--URL", help="LDB URL for database or target server (defaults to local SAM database)", + type=str, metavar="URL", dest="H"), ] def run(self, DN=None, H=None, verbose=False, fix=False, yes=False, cross_ncs=False, quiet=False, |
