File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ Sub Commands:
5050
5151Options:
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
9293port = 1234
9394allow = ' 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
104106host = ' 192.168.x.x'
105107trans-loopback = true
106108trans-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
152155So, 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
You can’t perform that action at this time.
0 commit comments