getopt unsupported switch case returns error status now. Changed if condition at fd_log close to be more readable.
getopt unsupported switch case returns error status now. Changed if condition at fd_log close to be more readable.

Change-Id: I6322de2e02325e675f2ffc98ca0e12b485e2282a

01org/intel-cmt-cat,01org/intel-cmt-cat,01org/intel-cmt-cat