code: def print_usage (msg, exit_code=2):
      
      program = sys.argv[0]
      print(_("Error: %(msg)s") % {"msg": msg}, file=console.stderr)
      print(_("Execute '%(program)s -h' for help") % {"program": program}, file=console.stderr)
      sys.exit(exit_code)
docs: Print a program msg text to stderr and exit.