added linux platform check, wrong parameter don't show help now, help and version have their own functions, avoided if/else tree by replacing it with dict function mappings