Oil light flicker

I have a slant six duster that does the same, as soon as you rev it up a bit the light turns off