doc: note about comments

This commit is contained in:
Peter Cai 2017-08-23 11:22:33 +08:00
parent 057f81007d
commit 2269879a2e
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F
2 changed files with 8 additions and 0 deletions

View File

@ -74,7 +74,12 @@ For example, rewrite the options for the above `server` example into configurati
``` ```
-s -s
# You can add comments like this
# Comments MUST occupy an entire line
# Or they will not work as expected
# Listen address
-l 0.0.0.0:4096 -l 0.0.0.0:4096
# Remote address
-r 127.0.0.1:7777 -r 127.0.0.1:7777
-a -a
-k passwd -k passwd

View File

@ -90,6 +90,9 @@ https://github.com/wangyu-/udp2raw-tunnel/releases
``` ```
-s -s
# 你可以像这样添加注释
# 注意,只有整行注释才能在配置文件里使用
# 注释必须独占一行
-l 0.0.0.0:4096 -l 0.0.0.0:4096
-r 127.0.0.1:7777 -r 127.0.0.1:7777
-a -a