I am getting the error "subscript requires array or pointer type" when I try to pass a value to COMMAND[0] via command line.

Can someone help me understand what is causing this so I can fix it?