summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorry755 <ryanst755@gmail.com>2021-05-07 20:17:00 -0700
committerAndreas Kling <kling@serenityos.org>2021-05-08 09:54:53 +0200
commit9cec9fb1e82550afe2064b0a6596d8c0d9f05ad0 (patch)
treeee7db8a201e8fbe1bd8968324d200e00fc58aa73
parent210d2d270d3a71e215350b1c78b1e9f0f614d8cf (diff)
downloadserenity-9cec9fb1e82550afe2064b0a6596d8c0d9f05ad0.zip
Base: Update TextEditor man page to include line and column arguments
This documents the feature in c2872766f2322aa38490160b571059f05e7dcb2d
-rw-r--r--Base/usr/share/man/man1/TextEditor.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/Base/usr/share/man/man1/TextEditor.md b/Base/usr/share/man/man1/TextEditor.md
index adb1670c9f..e1a6d4687c 100644
--- a/Base/usr/share/man/man1/TextEditor.md
+++ b/Base/usr/share/man/man1/TextEditor.md
@@ -5,7 +5,7 @@ TextEditor - SerenityOS text editor
## Synopsis
```**sh
-$ TextEditor [--preview-mode mode] [file]
+$ TextEditor [--preview-mode mode] [file[:line[:column]]]
```
## Description
@@ -19,10 +19,11 @@ which allows automatic live rendering of HTML and Markdown documents.
## Arguments
-* `file`: File to edit
+* `file[:line[:column]]`: File to edit, with optional starting line and column number
## Examples
```sh
$ TextEditor /home/anon/Documents/emoji.txt
+$ TextEditor /home/anon/Documents/emoji.txt:5:12
```