Add comments for $CmdLine and format the code