shopt - inspect or update compatibility shell options.
shopt [option ...] shopt -p [option ...] shopt -q option ... shopt -s option ... shopt -u option ...
shopt inspects or updates compatibility shell options. Rush currently models expand_aliases. Without operands, shopt lists all modeled options and shopt -p prints reusable commands.
-pshopt -s name or shopt -u name form.-q-s-u--Zero on success, one for invalid option names or failed queries, and two for usage errors.