Flagstick

pin, stick; a slender pole, usually about 7 feet in height, with a flag on it placed inside the cup to mark the location of the hole