summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/tools/onbld/hgext/cdm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/tools/onbld/hgext/cdm.py b/usr/src/tools/onbld/hgext/cdm.py
index dce2333b46..976c25bdc7 100644
--- a/usr/src/tools/onbld/hgext/cdm.py
+++ b/usr/src/tools/onbld/hgext/cdm.py
@@ -707,7 +707,7 @@ def cdm_nits(ui, repo, *args, **opts):
return run_checks(wslist[repo], cmds, *args, **opts)
-def cdm_pbchk(ui, repo, *args, **opts):
+def cdm_pbchk(ui, repo, **opts):
'''pre-putback check all active files
Run cddlchk, comchk, copyright, cstyle, hdrchk, jstyle, mapfilechk,
@@ -734,7 +734,7 @@ def cdm_pbchk(ui, repo, *args, **opts):
cdm_outchk,
cdm_mergechk]
- return run_checks(wslist[repo], cmds, *args, **opts)
+ return run_checks(wslist[repo], cmds, **opts)
def cdm_recommit(ui, repo, **opts):