aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go11
1 files changed, 4 insertions, 7 deletions
diff --git a/main.go b/main.go
index aca6f64..013ada5 100644
--- a/main.go
+++ b/main.go
@@ -2,11 +2,11 @@
package main
import (
+ "bufio"
"fmt"
"os"
"os/exec"
"strings"
- "bufio"
)
func main() {
@@ -100,12 +100,9 @@ Running debby with any other arguments will run it as a dolt command.`
choice = 0
// Print menu
- // List tables sequentially
- fmt.Print("Tables: ")
- for _, t := range tables {
- fmt.Printf(" %s -", t)
- }
- fmt.Println()
+ // List tables sequentially
+ fmt.Println("Tables: ", strings.Join(tables, ", "))
+ fmt.Println()
fmt.Print("1. Run query ")
fmt.Print("2. Edit table ")
fmt.Print("3. Execute Dolt command ")