Merge pull request #271 from stevekuznetsov/skuznets/init-options

Parse options in `tito init`
This commit is contained in:
Steve Kuznetsov 2017-01-30 09:31:35 -05:00 committed by GitHub
commit 12d1eb49e9

View file

@ -683,6 +683,7 @@ class InitModule(BaseCliModule):
# DO NOT CALL BaseCliModule.main(self)
# we are initializing tito to work in this module and
# calling main will result in a configuration error.
(self.options, self.args) = self.parser.parse_args(argv)
should_commit = False
rel_eng_dir = os.path.join(find_git_root(), '.tito')