A flag (or hook) on a note stem indicates note duration, not articulation:
One flag = eighth note (quaver) – half a beat in 4/4.
Two flags = sixteenth note (semiquaver) – quarter beat.
Three flags = thirty-second note, etc.
Flags are replaced by beams when multiple flagged notes are grouped. Staccato (short/detached) is notated with a dot above/below the notehead, not a flag.