How to get all shell options

Use the -o option to set to display all shell options:
set -o

Comments