diff --git a/src/croc/croc.go b/src/croc/croc.go index e9cfda1..4dccf48 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -1775,9 +1775,9 @@ func (c *Client) updateIfRecipientHasFileInfo() (err error) { percentDone := 100 - float64(len(missingChunks)*models.TCP_BUFFER_SIZE/2)/float64(fileInfo.Size)*100 log.Debug("asking to overwrite") - prompt := fmt.Sprintf("\nOverwrite '%s'? (y/N) ", path.Join(fileInfo.FolderRemote, fileInfo.Name)) + prompt := fmt.Sprintf("\nOverwrite '%s'? (y/N) (use --overwrite to omit) ", path.Join(fileInfo.FolderRemote, fileInfo.Name)) if percentDone < 99 { - prompt = fmt.Sprintf("\nResume '%s' (%2.1f%%)? (y/N) ", path.Join(fileInfo.FolderRemote, fileInfo.Name), percentDone) + prompt = fmt.Sprintf("\nResume '%s' (%2.1f%%)? (y/N) (use --overwrite to omit) ", path.Join(fileInfo.FolderRemote, fileInfo.Name), percentDone) } choice := strings.ToLower(utils.GetInput(prompt)) if choice != "y" && choice != "yes" {