mirror of https://github.com/dbcli/pgcli
Fix :q to quit.
This commit is contained in:
parent
f61a978800
commit
32fbc42b28
|
@ -26,5 +26,6 @@ def _multiline_exception(text):
|
|||
text.endswith(';') or # Ended with a semi-colon
|
||||
(text == 'exit') or # Exit doesn't need semi-colon
|
||||
(text == 'quit') or # Quit doesn't need semi-colon
|
||||
(text == ':q') or # To all the vim fans out there
|
||||
(text == '') # Just a plain enter without any text
|
||||
)
|
||||
|
|
|
@ -16,6 +16,12 @@
|
|||
* \c amjith
|
||||
* \q
|
||||
|
||||
* Simple execution:
|
||||
1 Execute a simple 'select * from users;' test taht will pass.
|
||||
2 Execute a syntax error: 'insert into users ( ;'
|
||||
3 Execute a simple test from step 1 again to see if it still passes.
|
||||
* Change the database and try steps 1 - 3.
|
||||
|
||||
* Test smart-completion
|
||||
* Sele - Must auto-complete to SELECT
|
||||
* SELECT * FROM - Must list the table names.
|
||||
|
|
Loading…
Reference in New Issue