Changeset 2404c3a for commands.c
- Timestamp:
- Oct 3, 2003, 7:34:01 PM (21 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:
- f933403
- Parents:
- 87c6ef1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
rf1e629d r2404c3a 226 226 "dump <filename>", 227 227 "Dump messages in current view to the named file."), 228 229 OWLCMD_ARGS("source", owl_command_source, OWL_CTX_ANY, 230 "execute owl commands from a file", 231 "source <filename>", 232 "Execute the owl commands in <filename>.\n"), 228 233 229 234 OWLCMD_ARGS("addbuddy", owl_command_addbuddy, OWL_CTX_INTERACTIVE, … … 1049 1054 1050 1055 owl_function_dump(argv[1]); 1056 return(NULL); 1057 } 1058 1059 char *owl_command_source(int argc, char **argv, char *buff) 1060 { 1061 if (argc!=2) { 1062 owl_function_makemsg("usage: source <filename>"); 1063 return(NULL); 1064 } 1065 1066 owl_function_source(argv[1]); 1051 1067 return(NULL); 1052 1068 }
Note: See TracChangeset
for help on using the changeset viewer.