'What does bash +x <script.sh> option mean? [duplicate]

I know what is bash -x, but what is bash +x ? Googling found no results and the manual also says nothing about it.



Solution 1:[1]

All of the single-character options are as if they were typed in the set command. -x turns on option x, +x turns off option x.

Solution 2:[2]

https://unix.stackexchange.com/questions/409366/what-is-bash-x

-x turns on x trace and +x turns it off as far as I understand

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tim Roberts
Solution 2 Orel Fichman