From 653cef88afa31ab7b8a679bd181abf71447b1596 Mon Sep 17 00:00:00 2001 From: Alan Jackoway Date: Fri, 15 Feb 2013 14:04:09 -0800 Subject: [PATCH] Add exit as command to shell --- shell/impala_shell.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/shell/impala_shell.py b/shell/impala_shell.py index 88b0967..fe6a56b 100644 --- a/shell/impala_shell.py +++ b/shell/impala_shell.py @@ -196,6 +196,10 @@ class ImpalaShell(cmd.Cmd): # None is crutch to tell shell loop to quit return None + def do_exit(self, args): + """Exit the Impala shell""" + return self.do_quit(args) + def do_connect(self, args): """Connect to an Impalad instance: Usage: connect -- 1.7.1