+ if o in ("-v", "--verbose"):
+ global verbose
+ verbose = True
+ try:
+ if len(args) == 0:
+ raise Usage("No template file given")
+
+ except Usage as err:
+ print(err.msg, file=sys.stderr)
+ print("for help use --help", file=sys.stderr)
+ return 2