From c8ad07101100aecf66964a8b93608105edecff7a Mon Sep 17 00:00:00 2001 From: Candle <50766841+CandleHater@users.noreply.github.com> Date: Wed, 22 Jul 2020 18:33:49 +0000 Subject: [PATCH] lncli: remove new line from password confirmation The password instruction in the same function and many other related outputs use Printf except of Println. --- cmd/lncli/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index f6f881066..f0403e3d0 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -1481,7 +1481,7 @@ func capturePassword(instruction string, optional bool, continue } - fmt.Println("Confirm password:") + fmt.Printf("Confirm password: ") passwordConfirmed, err := terminal.ReadPassword( int(syscall.Stdin), )