aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoop Kiefte <ikojba@gmail.com>2023-10-06 01:48:11 +0100
committerJoop Kiefte <ikojba@gmail.com>2023-10-06 02:54:35 +0100
commit973935ce939266393e5010c9a4f47df4d80562a1 (patch)
tree8468550520a0825f5968b8475f61aa10a0dd89a2
parent7c7af391621823742015d038001d0840f3d149e4 (diff)
Add feedback about running SQL query instead of dolt commandHEADmain
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 9ee50a3..b69e6b5 100644
--- a/main.go
+++ b/main.go
@@ -79,6 +79,7 @@ Running debby with any other arguments will run it as a dolt command.`
case "":
// Execute command or if it's not a valid command, run as SQL
if !ExecuteDoltCommand(args...) {
+ fmt.Println("Not a valid dolt command. Running as SQL.")
err = RunSQL(strings.Join(args, " "), "")
if err != nil {
fmt.Println(err)