def add_argument_yes(parser):
    """Add a ``--yes`` argument to the parser."""
    parser.add_argument('-y', '--yes', action='store_true', default=False,
        help="Don't ask for confirmation to {} the package(s).".format(
        parser.get_command_name()))
