diff options
-rw-r--r-- | main.go | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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 ") |