Changeset b4ef908


Ignore:
Timestamp:
Jul 17, 2009, 11:23:49 PM (8 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
eb6cedc
Parents:
435d6b2
Message:
Remove start-question and start-password commands

I'm pretty sure these are useless, since there's no way to set a
callback, and we have perl APIs to them.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r435d6b2 rb4ef908  
    7777              "start-command [initial-value]",
    7878              "Initializes the command field to initial-value."),
    79 
    80   OWLCMD_ARGS("start-question", owl_command_start_question, OWL_CTX_INTERACTIVE,
    81               "prompts the user to enter a response to some question",
    82               "start-command <question>",
    83               ""),
    84 
    85   OWLCMD_ARGS("start-password", owl_command_start_password, OWL_CTX_INTERACTIVE,
    86               "prompts the user to enter a password",
    87               "start-password <question>",
    88               ""),
    8979
    9080  OWLCMD_ARGS("alias", owl_command_alias, OWL_CTX_ANY,
     
    14201410  buff = skiptokens(buff, 1);
    14211411  owl_function_start_command(buff);
    1422   return(NULL);
    1423 }
    1424 
    1425 char *owl_command_start_question(int argc, char **argv, char *buff)
    1426 {
    1427   buff = skiptokens(buff, 1);
    1428   owl_function_start_question(buff);
    1429   return(NULL);
    1430 }
    1431 
    1432 char *owl_command_start_password(int argc, char **argv, char *buff)
    1433 {
    1434   buff = skiptokens(buff, 1);
    1435   owl_function_start_password(buff);
    14361412  return(NULL);
    14371413}
Note: See TracChangeset for help on using the changeset viewer.