* typeprint.c: Add "class CLASS-NAME" to docstring for ptype.
[binutils-gdb.git] / gdb / typeprint.c
index 5e13e07fb4d989d019175f4c27c8ed78f1559ef6..2bf0d05aa0478f1ece34870a2c7aa62c05c94d5c 100644 (file)
@@ -287,8 +287,8 @@ _initialize_typeprint ()
 
   add_com ("ptype", class_vars, ptype_command,
           "Print definition of type TYPE.\n\
-Argument may be a type name defined by typedef, or \"struct STRUCTNAME\"\n\
-or \"union UNIONNAME\" or \"enum ENUMNAME\".\n\
+Argument may be a type name defined by typedef, or \"struct STRUCT-TAG\"\n\
+or \"class CLASS-NAME\" or \"union UNION-TAG\" or \"enum ENUM-TAG\".\n\
 The selected stack frame's lexical context is used to look up the name.");
 
   add_com ("whatis", class_vars, whatis_command,