mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-02 11:39:24 +01:00
Add missing new lines
This commit is contained in:
parent
3e89accf97
commit
486feb3fea
@ -961,7 +961,7 @@ func Redact(ctx *context.Context, query string, force bool) error {
|
||||
return res.Error
|
||||
}
|
||||
if force {
|
||||
fmt.Printf("Permanently deleting %d entries", len(historyEntries))
|
||||
fmt.Printf("Permanently deleting %d entries\n", len(historyEntries))
|
||||
} else {
|
||||
// TODO: Find a way to test the prompting
|
||||
fmt.Printf("This will permanently delete %d entries, are you sure? [y/N]", len(historyEntries))
|
||||
|
@ -57,7 +57,7 @@ func main() {
|
||||
numImported, err := lib.ImportHistory(ctx)
|
||||
lib.CheckFatalError(err)
|
||||
if numImported > 0 {
|
||||
fmt.Printf("Imported %v history entries from your existing shell history", numImported)
|
||||
fmt.Printf("Imported %v history entries from your existing shell history\n", numImported)
|
||||
}
|
||||
}
|
||||
case "import":
|
||||
@ -68,7 +68,7 @@ func main() {
|
||||
numImported, err := lib.ImportHistory(ctx)
|
||||
lib.CheckFatalError(err)
|
||||
if numImported > 0 {
|
||||
fmt.Printf("Imported %v history entries from your existing shell history", numImported)
|
||||
fmt.Printf("Imported %v history entries from your existing shell history\n", numImported)
|
||||
}
|
||||
case "enable":
|
||||
ctx := hctx.MakeContext()
|
||||
|
Loading…
Reference in New Issue
Block a user