mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-10-28 05:39:58 -04:00
Reorganize function parameters to not specify repeat types
This commit is contained in:
1 parent
4d735d220b
commit
c7a2b4fb95
3 files changed
+5
-5
No files matched your search
@@ -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