(parser)
Add --pool argument to a parser
Add --pool argument to a parser
Add -- pool argument to a parser
def add_pool_arg(parser):  # pragma: no cover
    """ Add --pool argument to a parser """
    parser.add_argument(
        "--pool",
        "--role",
        dest="pool",
        default=os.environ.get("CMAN_POOL", "default"),
        action=deprecate_argument(depr_arg="--role", alt="--pool"),
        help="Identifier for a pool of machines to operate on",
    )
def add_pool_arg ( parser ) : # pragma: no cover parser . add_argument ( "--pool" , "--role" , dest = "pool" , default = os . environ . get ( "CMAN_POOL" , "default" ) , action = deprecate_argument ( depr_arg = "--role" , alt = "--pool" ) , help = "Identifier for a pool of machines to operate on" , )