mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-01 14:47:21 -04:00
Reorganize function parameters to not specify repeat types
This commit is contained in:
@@ -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] {
|
||||
|
||||
Reference in New Issue
Block a user