mirror of
https://github.com/samba-team/samba.git
synced 2025-07-23 20:59:10 +03:00
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>
This commit is contained in:
committed by
Andrew Tridgell
parent
2e082853fb
commit
41f073eb60
@ -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,
|
||||
|
Reference in New Issue
Block a user