aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-01-11 09:10:31 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2020-01-11 09:10:31 -0500
commit8543925dd9cec8e2e5e39a54b4416b450463f4d1 (patch)
tree056843b816ec6874474b1ac31fa3442e969910ad /modules/textadept
parentbdef9c5ffb135958837ca28df045448d556a5912 (diff)
downloadtextadept-8543925dd9cec8e2e5e39a54b4416b450463f4d1.tar.gz
textadept-8543925dd9cec8e2e5e39a54b4416b450463f4d1.zip
Added information to `--line` command line switch.
This fixes a failing "textadept --help".
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/editing.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index 3ad02e8b..4ea30f96 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -354,7 +354,8 @@ function M.goto_line(line)
buffer:ensure_visible_enforce_policy(line)
buffer:goto_line(line)
end
-args.register('-l', '--line', 1, function(line) M.goto_line(line - 1) end)
+args.register('-l', '--line', 1, function(line) M.goto_line(line - 1) end,
+ 'Go to line')
---
-- Transposes characters intelligently.