Reorganize function parameters to not specify repeat types

This commit is contained in:
2024-05-29 13:23:08 -04:00
parent 4d735d220b
commit c7a2b4fb95
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ func main() {
case "show", "-s":
cli.EntryReaderDecrypt(targetLocation, false)
case "copy":
backend.CopyArgument(targetLocation, 0, args[0])
backend.CopyArgument(args[0], targetLocation, 0)
case "edit":
cli.EditEntryField(targetLocation, true, 0)
case "gen":
@@ -82,7 +82,7 @@ func main() {
default:
cli.HelpCopy()
}
backend.CopyArgument(targetLocation, field, args[0])
backend.CopyArgument(args[0], targetLocation, field)
case "edit":
var field int // indicates which (numbered) field to edit
switch args[3] {