mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-29 05:16:28 -04:00
Sync with latest libmutton development version
This commit is contained in:
+2
-2
@@ -18,12 +18,12 @@ import (
|
||||
func RenameCli(oldVanityPath string) {
|
||||
// prompt user for new location and rename
|
||||
newVanityPath := front.Input("New location:")
|
||||
err := syncclient.RenameRemoteFromClient(oldVanityPath, newVanityPath)
|
||||
err := syncclient.RenameRemote(oldVanityPath, newVanityPath)
|
||||
if err != nil {
|
||||
other.PrintError("Failed to rename entry: "+err.Error(), back.ErrorWrite)
|
||||
}
|
||||
|
||||
// exit is done from sync.RenameRemoteFromClient
|
||||
// exit is done from sync.RenameRemote
|
||||
}
|
||||
|
||||
// EditEntryField edits a field of an entry at realPath (user input).
|
||||
|
||||
Reference in New Issue
Block a user