Which one is right to say in this situation?
When my friend had kept me waiting and showed up late without notice, which one is right to say?
-You could have told me you were going to be late.
-You could tell me you were going to be late.
If either one is okay to say, what is the difference?