Question about Special Shell Variable "$-"

Question: How I can change the shell option in my current environment, which I want to change the result of the command echo $-.

Background:
Special variable $-. It means the current shell option, and in my ENV, the result of this command as follows.

-bash-3.2$ echo $-
himBH
-bash-3.2$ 

Thanks!

$ echo $-
imsBEl
$ set +B
$ echo $-
imsEl
$ set +m
$ echo $-
isEl
1 Like

Thanks Scott, I find myself so ......