Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Sep 8, 2023
1 parent 61c9e04 commit f864a44
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ARGUMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,16 +259,22 @@ Shows the Path to the File in each Line prefix.
This can be useful when querying for Substrings or Patterns such that only a few Lines are being displayed.
Using this Argument in uppercase (--FP, --FILEPREFIX) will result in the Path being shown as the url file Protocol.
This can be useful in case the Terminal supports interacting with Links such that the File can be instantly opened.
Using the lowercase Argument in Combination with the <a href="#number">-n, --number</a> Parameter a GNU-style link format will be displayed.

```console
> catw test.txt --fp
<Path>/test.txt line 1
<Path>/test.txt line 2
```
```console
> catw test.txt --FP
file:///<Path>/test.txt line 1
file:///<Path>/test.txt line 2
> catw test.txt --FP -n
1) file:///<Path>/test.txt line 1
2) file:///<Path>/test.txt line 2
```
```console
> catw test.txt --fp -n
<Path>/test.txt:1 line 1
<Path>/test.txt:2 line 2
```

<a id="simplereplace"></a>
Expand Down

0 comments on commit f864a44

Please sign in to comment.