def add_deregister_args(parser):
    """Add the deregister command and arguments.

    :param argparse.Subparser parser: parser

    """
    registerp = parser.add_parser('deregister', help=
        'Deregister a service for this node')
    registerp.add_argument('service_id', help='The service registration id')
