Make check-docs target detect removed commands