mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-03 08:56:07 +02: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
|
return res.Error
|
||||||
}
|
}
|
||||||
if force {
|
if force {
|
||||||
fmt.Printf("Permanently deleting %d entries", len(historyEntries))
|
fmt.Printf("Permanently deleting %d entries\n", len(historyEntries))
|
||||||
} else {
|
} else {
|
||||||
// TODO: Find a way to test the prompting
|
// TODO: Find a way to test the prompting
|
||||||
fmt.Printf("This will permanently delete %d entries, are you sure? [y/N]", len(historyEntries))
|
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)
|
numImported, err := lib.ImportHistory(ctx)
|
||||||
lib.CheckFatalError(err)
|
lib.CheckFatalError(err)
|
||||||
if numImported > 0 {
|
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":
|
case "import":
|
||||||
@ -68,7 +68,7 @@ func main() {
|
|||||||
numImported, err := lib.ImportHistory(ctx)
|
numImported, err := lib.ImportHistory(ctx)
|
||||||
lib.CheckFatalError(err)
|
lib.CheckFatalError(err)
|
||||||
if numImported > 0 {
|
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":
|
case "enable":
|
||||||
ctx := hctx.MakeContext()
|
ctx := hctx.MakeContext()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user