def updating(name, jail=None, chroot=None, root=None, filedate=None, filename=None):
 opts = ''
 if filedate:
  opts += 'd {0}'.format(filedate)
 if filename:
  opts += 'f {0}'.format(filename)
 cmd = _pkg(jail, chroot, root)
 cmd.append('updating')
 if opts:
  cmd.append(('-' + opts))
 cmd.append(name)
 return __salt__['cmd.run'](cmd, output_loglevel='trace', python_shell=False)

def updating ( name , jail = None , chroot = None , root = None , filedate = None , filename = None ) : opts = '' if filedate : opts += 'd {0}' . format ( filedate ) if filename : opts += 'f {0}' . format ( filename ) cmd = _pkg ( jail , chroot , root ) cmd . append ( 'updating' ) if opts : cmd . append ( ( '-' + opts ) ) cmd . append ( name ) return __salt__ [ 'cmd.run' ] ( cmd , output_loglevel = 'trace' , python_shell = False )
displays updating entries of software packages cli example: .