Extracted common format params (short and long). Fixed several incorrect suggestions. Added attributes for suppressing warnings.
Based on this PR-938