diff --git a/cmd/rqlite/main.go b/cmd/rqlite/main.go index 9e96bb29..418f95d8 100644 --- a/cmd/rqlite/main.go +++ b/cmd/rqlite/main.go @@ -103,14 +103,17 @@ func main() { ctx.String("%s %v\n", ctx.Color().Red("ERR!"), msg) return nil } - - fmt.Println("Welcome to the rqlite CLI.") - fmt.Printf("Enter \".help\" for usage hints.\n") - fmt.Printf("Connected to %s running version %s\n", connectionStr, version) + + fmt.Printf("\n") + fmt.Println("Welcome to the fluidB CLI. Enter \".help\" for usage hints.") + fmt.Printf("Version %s, commit %s, branch %s\n", cmd.Version, cmd.Commit, cmd.Branch) + fmt.Printf("Connected to rqlited version %s\n", version) + fmt.Printf("\n") timer := false consistency := "weak" - prefix := fmt.Sprintf("%s>", address6(argv)) + //prefix := fmt.Sprintf("%s>", address6(argv)) + prefix := fmt.Sprintf("fluidB~:>") term, err := prompt.NewTerminal() if err != nil { ctx.String("%s %v\n", ctx.Color().Red("ERR!"), err) @@ -680,4 +683,4 @@ func createHostList(argv *argT) []string { // which is compatible with IPv6 addresses. func address6(argv *argT) string { return net.JoinHostPort(argv.Host, fmt.Sprintf("%d", argv.Port)) -} +} \ No newline at end of file