Checking null arguments in command line