code: def add_github_hook_options(parser):
      
      cookbook = parser.add_parser('github', help='Install the Jenkins callback '
                                                  'hook in a GitHub repository')
      cookbook.add_argument('owner', action='store',
                            help='The owner of the GitHub repo')
      cookbook.add_argument('repo', action='store',
                            help='The GitHub repository name')
      domain = socket.gethostname()
      example = 'jenkins.%s' % domain
      cookbook.add_argument('jenkins_hook_url', action='store',
                            help='The jenkins hook URL. For example %s' % example)
  
      cookbook.add_argument('-g', '--github-host',
                            action='store',
                            dest='github',
                            default=github.GITHUB_HOST,
                            help='Override github.com for a '
                                 'GitHub::Enterprise host')
      cookbook.add_argument('-u', '--username',
                            action='store',
                            dest='username',
                            help='Specify a different username than the repo '
                                 'owner')
  
      cookbook.set_defaults(func='github_hooks')
docs: Add the github jenkins hook command and arguments.
  
      :rtype: argparse.ArgumentParser