Added error checking on command line syntax for YAMR slave
Linux porting