<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_peer_parser(subparsers, parent_parser):
 """Adds argument parser for the peer command Args: subparsers: Add parsers to this subparser object parent_parser: The parent argparse.ArgumentParser object """

    parser = subparsers.add_parser(
        'peer',
        help='Displays information about validator peers',
        description="Provides a subcommand to list a validator's peers")

    grand_parsers = parser.add_subparsers(title='subcommands',
                                          dest='subcommand')
    grand_parsers.required = True
    add_peer_list_parser(grand_parsers, parent_parser)