Changeset 5e0b690 for commands.c
- Timestamp:
- Apr 10, 2004, 10:47:40 AM (20 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 405d5e6
- Parents:
- f84bca8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
rd4b84c0 r5e0b690 546 546 "The color of messages in the current filter will be changed\n" 547 547 "to <color>. Use the 'show colors' command for a list\n" 548 "of valid colors.\n\n" 549 "SEE ALSO: 'show colors'\n"), 550 551 OWLCMD_ARGS("colorclass", owl_command_colorclass, OWL_CTX_INTERACTIVE, 552 "create a filter to color messages of the given class name", 553 "colorclass <class> <color>", 554 "A filter will be created to color messages in <class>" 555 "in <color>. Use the 'show colors' command for a list\n" 548 556 "of valid colors.\n\n" 549 557 "SEE ALSO: 'show colors'\n"), … … 2232 2240 } 2233 2241 2242 char *owl_command_colorclass(int argc, char **argv, char *buff) 2243 { 2244 char *filtname; 2245 2246 if (argc!=3) { 2247 owl_function_makemsg("Wrong number of arguments to colorclass command"); 2248 return NULL; 2249 } 2250 2251 filtname=owl_function_classinstfilt(argv[1], NULL); 2252 (void) owl_function_color_filter(filtname, argv[2]); 2253 return NULL; 2254 } 2255 2234 2256 char *owl_command_zpunt(int argc, char **argv, char *buff) 2235 2257 {
Note: See TracChangeset
for help on using the changeset viewer.