Update for compatibility with upcoming libmutton version's new copy behavior

This commit is contained in:
2024-12-20 20:36:56 -05:00
parent cfb4a2ad51
commit c323899bf8
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ func main() {
case "show", "-s":
cli.EntryReaderDecrypt(targetLocation, false)
case "copy":
core.CopyArgument(args[0], targetLocation, 0)
core.CopyArgument(targetLocation, 0)
case "edit":
cli.EditEntryField(targetLocation, true, 0)
case "gen":
@@ -82,7 +82,7 @@ func main() {
default:
cli.HelpCopy()
}
core.CopyArgument(args[0], targetLocation, field)
core.CopyArgument(targetLocation, field)
case "edit":
var field int // indicates which (numbered) field to edit
switch args[3] {