man chmod, the description's in the first few paragraphs.
The syntax for chmod looks a bit different from your typical UNIX
command, but isn't really that different. the "-s" "flag" is really a
mode, not an option (or flag).
The set (U/G)ID bit (S) is different from the sticky bit (T), and both
are explained in the first paragraphs on the man page.