Better error messages for missing -d flag