comparison src/help.cc @ 2804:eedc2f3f61f7

[project @ 1997-03-11 04:34:50 by jwe]
author jwe
date Tue, 11 Mar 1997 04:48:53 +0000
parents 9aeba8e006a4
children 8b262e771614
comparison
equal deleted inserted replaced
2803:f96fae33b877 2804:eedc2f3f61f7
607 607
608 int 608 int
609 help_from_list (ostream& os, const help_list *list, 609 help_from_list (ostream& os, const help_list *list,
610 const string& nm, int usage) 610 const string& nm, int usage)
611 { 611 {
612 char *name; 612 const char *name;
613 while ((name = list->name) != 0) 613 while ((name = list->name) != 0)
614 { 614 {
615 if (strcmp (name, nm.c_str ()) == 0) 615 if (strcmp (name, nm.c_str ()) == 0)
616 { 616 {
617 if (usage) 617 if (usage)