code: function _Overlay_showOnlyCommands(commands, immediate) {
                      var showHide = this._resolveCommands(commands);
                      this._showAndHideCommands(showHide.commands, showHide.others, immediate);
                  }
docs: Hide commands