diff options
Diffstat (limited to 'subcmds/manifest.py')
| -rw-r--r-- | subcmds/manifest.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/subcmds/manifest.py b/subcmds/manifest.py index 07fa323a..768f072e 100644 --- a/subcmds/manifest.py +++ b/subcmds/manifest.py | |||
| @@ -73,14 +73,9 @@ in a Git repository for use during future 'repo init' invocations. | |||
| 73 | if opt.output_file != '-': | 73 | if opt.output_file != '-': |
| 74 | print('Saved manifest to %s' % opt.output_file, file=sys.stderr) | 74 | print('Saved manifest to %s' % opt.output_file, file=sys.stderr) |
| 75 | 75 | ||
| 76 | def Execute(self, opt, args): | 76 | def ValidateOptions(self, opt, args): |
| 77 | if args: | 77 | if args: |
| 78 | self.Usage() | 78 | self.Usage() |
| 79 | 79 | ||
| 80 | if opt.output_file is not None: | 80 | def Execute(self, opt, args): |
| 81 | self._Output(opt) | 81 | self._Output(opt) |
| 82 | return | ||
| 83 | |||
| 84 | print('error: no operation to perform', file=sys.stderr) | ||
| 85 | print('error: see repo help manifest', file=sys.stderr) | ||
| 86 | sys.exit(1) | ||
