summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-05-07 12:40:21 +0200
committerDaniel Weipert <code@drogueronin.de>2023-05-07 12:40:21 +0200
commit5962c49c623aa9a89adfd1806da65cf4b42b6eef (patch)
treebe3ab31c6e83ae0f122e5674112210ec8cacfc32
parentaed92957e5bc1cb6978dda4bc1305926c45af18d (diff)
Rename "unmount" command to "umount"
-rw-r--r--lua/rclone/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/rclone/init.lua b/lua/rclone/init.lua
index df7aec6..2a21076 100644
--- a/lua/rclone/init.lua
+++ b/lua/rclone/init.lua
@@ -485,7 +485,7 @@ end
-- Unmount mount mounted with 'rclone mount'
--
-- @return any
-local function unmount(options)
+local function umount(options)
local mount_options = vim.deepcopy(options)
mount_options['--dry-run'] = true
mount_options['--return'] = true
@@ -521,7 +521,8 @@ local commands = {
downloadFile = downloadFile,
sync = sync,
mount = mount,
- unmount = unmount,
+ umount = umount,
+ unmount = umount,
}
---