summaryrefslogtreecommitdiff
path: root/client/interactive.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/interactive.c')
-rw-r--r--client/interactive.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/client/interactive.c b/client/interactive.c
index 200f3dcb..49952b94 100644
--- a/client/interactive.c
+++ b/client/interactive.c
@@ -71,15 +71,6 @@ static gboolean rl_handler(char *input)
for (num_args = 0; long_args[num_args] != NULL; num_args++);
error = commands(interactive_conn, long_args, num_args);
- if (error == -1) {
- error = commands_no_options(interactive_conn, long_args,
- num_args);
- if (error == -1)
- error = commands_options(interactive_conn, long_args,
- num_args);
- else
- return error;
- }
if ((strcmp(long_args[0], "quit") == 0)
|| (strcmp(long_args[0], "exit") == 0)