diff --git a/src/croc/croc.go b/src/croc/croc.go index f3d7e788..c86ff728 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -1064,7 +1064,7 @@ func (c *Client) Receive() (err error) { err = c.transfer() if err == nil { if c.numberOfTransferredFiles+len(c.EmptyFoldersToTransfer) == 0 { - fmt.Fprintf(os.Stderr, "\rNo files transferred.") + fmt.Fprintf(os.Stderr, "\rNo files transferred.\n") } } return @@ -1780,7 +1780,7 @@ func (c *Client) updateIfRecipientHasFileInfo() (err error) { } choice := strings.ToLower(utils.GetInput(prompt)) if choice != "y" && choice != "yes" { - fmt.Fprintf(os.Stderr, "skipping '%s'", path.Join(fileInfo.FolderRemote, fileInfo.Name)) + fmt.Fprintf(os.Stderr, "Skipping '%s'\n", path.Join(fileInfo.FolderRemote, fileInfo.Name)) continue } } diff --git a/src/utils/utils.go b/src/utils/utils.go index acb016c2..4b485555 100644 --- a/src/utils/utils.go +++ b/src/utils/utils.go @@ -542,7 +542,7 @@ func UnzipDirectory(destination string, source string) error { prompt := fmt.Sprintf("\nOverwrite '%s'? (y/N) ", filePath) choice := strings.ToLower(GetInput(prompt)) if choice != "y" && choice != "yes" { - fmt.Fprintf(os.Stderr, "skipping '%s'", filePath) + fmt.Fprintf(os.Stderr, "Skipping '%s'\n", filePath) continue } }