diff options
author | 2020-01-11 09:10:31 -0500 | |
---|---|---|
committer | 2020-01-11 09:10:31 -0500 | |
commit | 8543925dd9cec8e2e5e39a54b4416b450463f4d1 (patch) | |
tree | 056843b816ec6874474b1ac31fa3442e969910ad /modules/textadept | |
parent | bdef9c5ffb135958837ca28df045448d556a5912 (diff) | |
download | textadept-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.lua | 3 |
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. |