"why not handling icons like others, e.g., permissions?"
You mean the format as follows?
  permissions = ''
  if options.permissions:
    permissions = '--permissions=%s' % options.permissions