mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vlogscli: add \q
command for the exit from vlogcli
This should help psql users, who expect `\q` command for the exit
This commit is contained in:
parent
2593f32b63
commit
6c9e643ea8
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ func saveToHistory(filePath string, lines []string) error {
|
|||
|
||||
func isQuitCommand(s string) bool {
|
||||
switch s {
|
||||
case "q", "quit", "exit":
|
||||
case "q", "quit", "exit", "\\q":
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
|
|
Loading…
Reference in a new issue