mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-21 15:45:01 +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 {
|
func isQuitCommand(s string) bool {
|
||||||
switch s {
|
switch s {
|
||||||
case "q", "quit", "exit":
|
case "q", "quit", "exit", "\\q":
|
||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue