Skip to content

Commit ac1d6c0

Browse files
committed
Update README
1 parent fee0f7e commit ac1d6c0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ Sub Commands:
5050

5151
Options:
5252
--port=2489 TCP port number
53-
--allow="0.0.0.0/0,::0" Allow IP Range [Server only]
53+
--line-ending Convert Line Ending(CR/CRLF)
54+
--allow="0.0.0.0/0,::/0" Allow IP Range [Server only]
5455
--host="localhost" Destination hostname [Client only]
5556
--trans-loopback=true Translate loopback address [open subcommand only]
5657
--trans-localfile=true Translate local file path [open subcommand only]
@@ -91,6 +92,7 @@ There is configuration file at `~/.config/lemonade.toml`.
9192
```toml
9293
port = 1234
9394
allow = '192.168.0.0/24'
95+
line-ending = 'crlf'
9496
```
9597

9698
- `port` is a listening port of TCP.
@@ -104,6 +106,7 @@ port = 1234
104106
host = '192.168.x.x'
105107
trans-loopback = true
106108
trans-localfile = true
109+
line-ending = 'crlf'
107110
```
108111

109112
- `port` is a port of server.
@@ -152,6 +155,14 @@ If this option is true, server receives IP address of client. And client serve t
152155
So, server can open the local file!
153156

154157

158+
### line-ending
159+
160+
Default: "" (NONE)
161+
162+
This options works with `copy` and `paste` command only.
163+
164+
If this option is `lf` or `crlf`, lemonade converts the line ending of text to the specified.
165+
155166

156167
### Alias
157168

0 commit comments

Comments
 (0)