Listres accepts all of the standard toolkit command line options along with those listed below:
-all This option indicates that listres should print information for all known widgets and objects.
-nosuper
This option indicates that resources that are inherited from a superclass should not be listed.
This is useful for determining which resources are new to a subclass.
-variable
This option indicates that widgets should be identified by the names of the class record
variables rather than the class name given in the variable. This is useful for distinguishing
subclasses that have the same class name as their superclasses.
-topname
This option specifies the name of the widget to be treated as the top of the hierarchy. Case is
not significant, and the name may match either the class variable name or the class name. The
default is ``core''.
-formatprintf-string
This option specifies the printf-style format string to be used to print out the name, instance,
class, and type of each resource.
-help This option indicates that listres should print a usage message and exit.
-version
This option indicates that listres should print version info and exit.