Changeset d36f2cb for commands.c
- Timestamp:
- Jun 29, 2002, 7:42:37 PM (23 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:
- 8ee73f8d
- Parents:
- 7360fab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r7360fab rd36f2cb 148 148 "getsubs retrieves the current subscriptions from the server\n" 149 149 "and displays them.\n"), 150 151 OWLCMD_ARGS("smartzpunt", owl_command_smartzpunt, OWL_CTX_INTERACTIVE, 152 "creates a zpunt based on the current message", 153 "smartnarrow [-i | --instance]", 154 "Starts a zpunt command based on the current message's class\n" 155 "(and instance if -i is specified).\n"), 150 156 151 157 OWLCMD_ARGS("zpunt", owl_command_zpunt, OWL_CTX_ANY, … … 1386 1392 } 1387 1393 1394 char *owl_command_smartzpunt(int argc, char **argv, char *buff) { 1395 if (argc == 1) { 1396 owl_function_smartzpunt(0); 1397 } else if (argc == 2 && (!strcmp(argv[1], "-i") || !strcmp(argv[1], "--instance"))) { 1398 owl_function_smartzpunt(1); 1399 } else { 1400 owl_function_makemsg("Wrong number of arguments for %s", argv[0]); 1401 } 1402 return NULL; 1403 } 1404 1405 1388 1406 1389 1407 /*********************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.