summaryrefslogtreecommitdiffstats
path: root/subcmds/cherry_pick.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/cherry_pick.py')
-rw-r--r--subcmds/cherry_pick.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/cherry_pick.py b/subcmds/cherry_pick.py
index 43215f91..a541a040 100644
--- a/subcmds/cherry_pick.py
+++ b/subcmds/cherry_pick.py
@@ -37,10 +37,11 @@ change id will be added.
37 def _Options(self, p): 37 def _Options(self, p):
38 pass 38 pass
39 39
40 def Execute(self, opt, args): 40 def ValidateOptions(self, opt, args):
41 if len(args) != 1: 41 if len(args) != 1:
42 self.Usage() 42 self.Usage()
43 43
44 def Execute(self, opt, args):
44 reference = args[0] 45 reference = args[0]
45 46
46 p = GitCommand(None, 47 p = GitCommand(None,