diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/actions.c | 4 |
2 files changed, 5 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2005-02-06 Shawn Betts <katia_dilkina@verizon.net> + + * src/actions.c (cmd_prompt): allow prompt to be run + interactively. + 2005-02-04 Shawn Betts <katia_dilkina@verizon.net> * configure.in: bump version to 1.4.0-CVS. diff --git a/src/actions.c b/src/actions.c index 3f99057..5963fbe 100644 --- a/src/actions.c +++ b/src/actions.c @@ -5029,10 +5029,6 @@ cmd_prompt (int interactive, struct cmdarg **args) cmdret *ret; char *query, *output, *prefix; - /* prompt has no use in interactive mode. So just silently fail. */ - if (interactive) - return cmdret_new (NULL, RET_FAILURE); - if (args[0] == NULL) output = get_input(MESSAGE_PROMPT_COMMAND, trivial_completions); else |