Преглед на файлове

Base: Update TextEditor man page to include line and column arguments

This documents the feature in c2872766f2322aa38490160b571059f05e7dcb2d
ry755 преди 4 години
родител
ревизия
9cec9fb1e8
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      Base/usr/share/man/man1/TextEditor.md

+ 3 - 2
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
 ```