Hi,
as far as I know ( older post here in forum) you should type the command line using case sensitive, like you typed on your Subject!
If I am not wrong should be entered as:
airportCacheOptimizeSearch
airportCacheMaxBGLSizeBytes
Hope I could help, Pit.