flags
flags |<search>
flags <object>
flags <object> <flag>
flags <object> <flag> <value>

  Flags <object> shows the flags that are set on the object that you specify. 
  Flags <object> <flag> shows the setting of the flag on the object.
  Flags <object> <flag> <value> sets the flag to the value that you specify.

  Flags on its own shows a list of flags.
  Flags |whatever will show a list of flags with the string whatever in them.
