Skip to content

Commit

Permalink
fix: record that module upgrade requires at least 1 arg (#1207)
Browse files Browse the repository at this point in the history
Fixes #1206
  • Loading branch information
Furkan Sahin authored Dec 26, 2023
1 parent 316403a commit 51f55f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/neorg/modules/core/upgrade/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ module.load = function()
modules.await("core.neorgcmd", function(neorgcmd)
neorgcmd.add_commands_from_table({
upgrade = {
min_args = 1,
max_args = 1,
subcommands = {
["current-file"] = {
name = "core.upgrade.current-file",
Expand Down

0 comments on commit 51f55f5

Please sign in to comment.