mercurial/fancyopts.py
changeset 209 63af1db35611
parent 164 2e87f04880ab
child 293 11d64332a1cb
--- a/mercurial/fancyopts.py
+++ b/mercurial/fancyopts.py
@@ -46,6 +46,8 @@ def fancyopts(args, options, state, synt
         elif dt[map[opt]] is type(''): state[map[opt]] = arg
         elif dt[map[opt]] is type([]): state[map[opt]].append(arg)
         elif dt[map[opt]] is type(None): state[map[opt]] = 1
-        
+
+    del state["help"]
+
     return args