A question like this is completely solved in an answer to another question, but the questions themselves are not duplicates one to another.
I've seen recently that some questions were closed but not as duplicates, instead appearing a message saying "This question already has an answer here". I find this appropriate, but I have no idea how to close a question this way. Any suggestions?
Edit. Meanwhile I've found a similar question and I've voted to close it as a duplicate, but my question still stands.