Skip to content
Snippets Groups Projects
Commit 5bb5d1af authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

validate not for init

parent 88705fab
No related branches found
No related tags found
No related merge requests found
......@@ -158,9 +158,9 @@ def validate(args):
if __name__ == '__main__':
args = docopt(__doc__, version=get_version(), options_first=True)
if not validate(args):
exit(1)
if args['--init']:
init(args)
else:
if not validate(args):
exit(1)
run(args)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment