For context: I got a question asking, "Which of the following alkaline earth metals do not give flame colour?". I quickly marked $\ce{Be}$ and $\ce{Mg}$ and got negative marks.
The following is a quote from my book (emphasis in the original):
The elements of Group 2 include beryllium, magnesium, calcium, strontium, barium and radium. These elements with the exception of beryllium are commonly known as the alkaline earth metals. These are so called because their oxides and hydroxides are alkaline in nature and these metal oxides are found in the earth's crust.
As you can see, it's stated that beryllium is not an alkaline earth metal!
Is beryllium an alkaline earth metal or not?