Sync with latest libmutton development version; draft documentation for release v0.4.0

This commit is contained in:
2026-01-08 21:23:36 -05:00
parent 9af456590c
commit 32364717dc
8 changed files with 39 additions and 40 deletions
+1 -2
View File
@@ -30,8 +30,7 @@ func inputPasswordGen() string {
// writeEntryCLI writes an entry to realPath and previews it (errors if no data is supplied).
func writeEntryCLI(realPath string, decSlice []string, passwordIsNew bool, oldPassword string) {
if core.EntryIsNotEmpty(decSlice) {
err := core.WriteEntry(realPath, decSlice, passwordIsNew)
if err != nil {
if err := core.WriteEntry(realPath, decSlice, passwordIsNew); err != nil {
other.PrintError("Failed to write entry: "+err.Error(), back.ErrorWrite)
}
// preview the entry