code: def display(name):
      '''
      Display alternatives settings for defined command name
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' alternatives.display editor
      '''
      cmd = [_get_cmd(), '--display', name]
      out = __salt__['cmd.run_all'](cmd, python_shell=False)
      if out['retcode'] > 0 and out['stderr'] != '':
          return out['stderr']
      return out['stdout'f display(name):
      '''
      Display alternatives settings for defined command name
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' alternatives.display editor
      '''
      cmd = [_get_cmd(), '--display', name]
      out = __salt__['cmd.run_all'](cmd, python_shell=False)
      if out['retcode'] > 0 and out['stderr'] != '':
          return out['stderr']
      return out['stdout']
docs: Display alternatives settings for defined command name
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' alternatives.display editor