The old man was using a cane.

Literal

Old-man [topic-は] cane [object-を] was-using.

杖をつく ('to walk with a cane') literally means 'to plant a cane.' ~ていた marks the ongoing past state. A simple visual detail.