I choose A. The inversion is used in these constructions without rendering the interrogative mood. Note the inversion changes if "only" is removed, or the phrase is moved to the predicate.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.